From da7685ef74aa31c394f49ee953417b91d918ec10 Mon Sep 17 00:00:00 2001 From: Sai Sindhur Malleni Date: Fri, 21 Dec 2018 09:44:58 -0800 Subject: [PATCH] Add missing test for atomic action timer in trunk utility This commit adds a missing test for atomic action timer for the _list_ports_by_device_id scenario Change-Id: Ib15d0f78d8ee16bb42d988bd4d644cf9006164ee --- tests/unit/scenarios/neutron/test_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/scenarios/neutron/test_utils.py b/tests/unit/scenarios/neutron/test_utils.py index df768c36..7fadbc42 100644 --- a/tests/unit/scenarios/neutron/test_utils.py +++ b/tests/unit/scenarios/neutron/test_utils.py @@ -1330,6 +1330,8 @@ class NeutronScenarioTestCase(test.ScenarioTestCase): self.scenario._list_ports_by_device_id(device_id) self.clients("neutron").list_ports.assert_called_once_with( device_id=device_id) + self._test_atomic_action_timer(self.scenario.atomic_actions(), + "neutron.list_ports_by_device_id") class NeutronScenarioFunctionalTestCase(test.FakeClientsScenarioTestCase):