Skip to content

Commit

Permalink
fixing test state values
Browse files Browse the repository at this point in the history
  • Loading branch information
opalmer committed Dec 23, 2013
1 parent 015a496 commit 5670f86
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_agent_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_agent_posts_by_id(self):
"port": 64994,
"ram": 2048,
"ram_allocation": 0.8,
"state": 202}))
"state": "running"}))
self.assertStatus(response1, CREATED)
id = loads(response1.data)['id']

Expand Down Expand Up @@ -197,7 +197,7 @@ def test_agent_delete(self):
"port": 64994,
"ram": 2048,
"ram_allocation": 0.8,
"state": 202}))
"state": "running"}))
self.assertStatus(response1, CREATED)
id = loads(response1.data)['id']

Expand All @@ -221,7 +221,7 @@ def test_agent_filter(self):
"port": 64994,
"ram": 1024,
"ram_allocation": 0.8,
"state": 202}))
"state": "running"}))
self.assertStatus(create_response1, CREATED)
low_cpu_low_ram_id = loads(create_response1.data)['id']

Expand All @@ -237,7 +237,7 @@ def test_agent_filter(self):
"port": 64994,
"ram": 4096,
"ram_allocation": 0.8,
"state": 202}))
"state": "running"}))
self.assertStatus(create_response2, CREATED)
low_cpu_high_ram_id = loads(create_response2.data)['id']

Expand All @@ -253,7 +253,7 @@ def test_agent_filter(self):
"port": 64994,
"ram": 1024,
"ram_allocation": 0.8,
"state": 202}))
"state": "running"}))
self.assertStatus(create_response3, CREATED)
high_cpu_low_ram_id = loads(create_response3.data)['id']

Expand All @@ -269,7 +269,7 @@ def test_agent_filter(self):
"port": 64994,
"ram": 4096,
"ram_allocation": 0.8,
"state": 202}))
"state": "running"}))
self.assertStatus(create_response4, CREATED)
high_cpu_high_ram_id = loads(create_response4.data)['id']

Expand All @@ -286,7 +286,7 @@ def test_agent_filter(self):
"port": 64994,
"ram": 2048,
"ram_allocation": 0.8,
"state": 202}))
"state": "running"}))
self.assertStatus(create_response5, CREATED)
middle_cpu_middle_ram_id = loads(create_response5.data)['id']

Expand Down

0 comments on commit 5670f86

Please sign in to comment.