Skip to content

Commit

Permalink
Merge pull request #924 from dshcherb/2022-09-dpdk-separate
Browse files Browse the repository at this point in the history
Move DPDK-related functions to DPDKTest
  • Loading branch information
fnordahl authored Sep 21, 2022
2 parents 16706e7 + 787415a commit 778feeb
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 @@ -199,6 +199,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 @@ -296,10 +300,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 778feeb

Please sign in to comment.