Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(controller): fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Fisher committed Apr 16, 2014
1 parent 1d05e0d commit 33eee91
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion controller/api/tests/test_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ def test_container_state_bad(self):
# test an illegal transition
self.assertRaises(TransitionNotAllowed, lambda: c.start())
self.assertEqual(c.state, 'initialized')
self.assertRaises(Exception, lambda: c.deploy(App.objects.get(id=app_id).release_set.latest()))
self.assertRaises(
Exception,
lambda: c.deploy(
App.objects.get(id=app_id).release_set.latest()
)
)
self.assertEqual(c.state, 'down')
self.assertRaises(Exception, lambda: c.destroy())
self.assertEqual(c.state, 'down')
Expand Down

0 comments on commit 33eee91

Please sign in to comment.