Skip to content

Commit

Permalink
Merge branch 'working' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
EdLeafe committed Oct 18, 2013
2 parents 0cbe81a + ed17a11 commit a0110d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_cloud_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ def test_create_manager(self):
self.assertTrue(isinstance(clt._manager, CloudNetworkManager))

def test_create_body(self):
mgr = self.client._manager
nm = utils.random_name()
expected = {"network": {"label": nm, "cidr": example_cidr}}
returned = self.client._create_body(name=nm, cidr=example_cidr)
returned = mgr._create_body(name=nm, cidr=example_cidr)
self.assertEqual(expected, returned)

def test_create(self):
Expand Down

0 comments on commit a0110d0

Please sign in to comment.