Fix the misspelling of "except"
Change-Id: I0f7246eb5382e94cbb3f761b76e0cd50c03132ff
This commit is contained in:
parent
3fc8b3f97d
commit
dda3df3ffc
@ -283,7 +283,7 @@ class TestGceRouterPlugin(test_sg.SecurityGroupsTestCase, base.BaseTestCase):
|
||||
mock_delip.return_value = None
|
||||
mock_relip.return_value = None
|
||||
|
||||
# Case 4: allocate_floatingip returns an excpetion
|
||||
# Case 4: allocate_floatingip returns an exception
|
||||
mock_allocateip.side_effect = exceptions.PhysicalNetworkNameError()
|
||||
self.assertRaises(exceptions.PhysicalNetworkNameError,
|
||||
self._driver.create_floatingip,
|
||||
|
Loading…
x
Reference in New Issue
Block a user