Skip to content

Commit

Permalink
Move DPDK-related functions to DPDKTest
Browse files Browse the repository at this point in the history
The previous change

268b429

did not move the rest of the functions required to actually run the
test case.

(cherry picked from commit 787415a)
  • Loading branch information
Dmitrii Shcherbakov authored and fnordahl committed Jul 28, 2023
1 parent cfe843e commit bcf0c3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zaza/openstack/charm_tests/ovn/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ def test_wrong_bridge_config(self):
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.
Expand Down Expand Up @@ -294,10 +298,6 @@ def _dpdk_pre_post_flight_check(self):
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')
Expand Down

0 comments on commit bcf0c3d

Please sign in to comment.