Merge "Add missing test for atomic action timer in trunk utility"

This commit is contained in:
Zuul 2018-12-22 12:46:07 +00:00 committed by Gerrit Code Review
commit d139fe7352

View File

@ -1330,6 +1330,8 @@ class NeutronScenarioTestCase(test.ScenarioTestCase):
self.scenario._list_ports_by_device_id(device_id) self.scenario._list_ports_by_device_id(device_id)
self.clients("neutron").list_ports.assert_called_once_with( self.clients("neutron").list_ports.assert_called_once_with(
device_id=device_id) device_id=device_id)
self._test_atomic_action_timer(self.scenario.atomic_actions(),
"neutron.list_ports_by_device_id")
def test__list_subports_by_trunk(self): def test__list_subports_by_trunk(self):
trunk_id = "trunk-id" trunk_id = "trunk-id"