summaryrefslogtreecommitdiff
path: root/tests/integration_tests/modules
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_tests/modules')
-rw-r--r--tests/integration_tests/modules/test_power_state_change.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/integration_tests/modules/test_power_state_change.py b/tests/integration_tests/modules/test_power_state_change.py
index 60e0e583..844dccfa 100644
--- a/tests/integration_tests/modules/test_power_state_change.py
+++ b/tests/integration_tests/modules/test_power_state_change.py
@@ -9,7 +9,7 @@ import pytest
from tests.integration_tests.clouds import IntegrationCloud
from tests.integration_tests.instances import IntegrationInstance
-from tests.integration_tests.log_utils import ordered_items_in_text
+from tests.integration_tests.log_utils import verify_ordered_items_in_text
USER_DATA = """\
#cloud-config
@@ -80,8 +80,7 @@ class TestPowerChange:
"running 'init-local'",
'config-power-state-change already ran',
]
- assert ordered_items_in_text(lines_to_check, log), (
- 'Expected data not in logs')
+ verify_ordered_items_in_text(lines_to_check, log)
@pytest.mark.user_data(USER_DATA.format(delay='0', mode='poweroff',
timeout='0', condition='false'))