Move DPDK-related functions to DPDKTest

The previous change

268b4297b4

did not move the rest of the functions required to actually run the
test case.
This commit is contained in:
Dmitrii Shcherbakov
2022-09-20 23:33:24 +03:00
parent 16706e799d
commit 787415ae94
+4 -4
View File
@@ -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')