From 787415ae94e4f7089112180043093f997c104177 Mon Sep 17 00:00:00 2001 From: Dmitrii Shcherbakov Date: Tue, 20 Sep 2022 23:33:24 +0300 Subject: [PATCH] Move DPDK-related functions to DPDKTest The previous change 268b4297b47a60cddd71caccc3e322250321f38a did not move the rest of the functions required to actually run the test case. --- zaza/openstack/charm_tests/ovn/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zaza/openstack/charm_tests/ovn/tests.py b/zaza/openstack/charm_tests/ovn/tests.py index 4b50510..74f77ba 100644 --- a/zaza/openstack/charm_tests/ovn/tests.py +++ b/zaza/openstack/charm_tests/ovn/tests.py @@ -199,6 +199,10 @@ class ChassisCharmOperationTest(BaseCharmOperationTest): self.test_config[ 'target_deploy_status'] = stored_target_deploy_status + +class DPDKTest(test_utils.BaseCharmTest): + """DPDK-related tests.""" + def _openvswitch_switch_dpdk_installed(self): """Assert that the openvswitch-switch-dpdk package is installed. @@ -296,10 +300,6 @@ class ChassisCharmOperationTest(BaseCharmOperationTest): msg='OVS unexpectedly has DPDK initialized'): self._ovs_dpdk_initialized() - -class DPDKTest(test_utils.BaseCharmTest): - """DPDK-related tests.""" - def test_enable_dpdk(self): """Confirm that transitioning to/from DPDK works.""" logging.info('Pre-flight check')