Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdLeafe committed Oct 24, 2013
1 parent 9b882c1 commit 80f8bc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/test_autoscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ def test_clt_resume(self):
mgr.resume.assert_called_once_with(sg)

def test_clt_replace(self):
clt = fakes.FakeAutoScaleClient()
clt = fakes.FakeAutoScaleClient(self.identity)
mgr = clt._manager
sg = self.scaling_group
name = utils.random_unicode()
Expand Down Expand Up @@ -1297,7 +1297,7 @@ def test_clt_get_launch_config(self):
mgr.get_launch_config.assert_called_once_with(sg)

def test_clt_replace_launch_config(self):
clt = fakes.FakeAutoScaleClient()
clt = fakes.FakeAutoScaleClient(self.identity)
mgr = clt._manager
sg = self.scaling_group
mgr.replace_launch_config = Mock()
Expand Down Expand Up @@ -1391,7 +1391,7 @@ def test_clt_get_policy(self):
mgr.get_policy.assert_called_once_with(sg, pol)

def test_clt_replace_policy(self):
clt = fakes.FakeAutoScaleClient()
clt = fakes.FakeAutoScaleClient(self.identity)
mgr = clt._manager
sg = self.scaling_group
pol = utils.random_unicode()
Expand Down Expand Up @@ -1481,7 +1481,7 @@ def test_clt_get_webhook(self):
mgr.get_webhook.assert_called_once_with(sg, pol, hook)

def test_clt_replace_webhook(self):
clt = fakes.FakeAutoScaleClient()
clt = fakes.FakeAutoScaleClient(self.identity)
mgr = clt._manager
sg = self.scaling_group
pol = utils.random_unicode()
Expand Down

0 comments on commit 80f8bc3

Please sign in to comment.