diff --git a/integration-requirements.txt b/integration-requirements.txt index 364ec8d80de..510f013f40b 100644 --- a/integration-requirements.txt +++ b/integration-requirements.txt @@ -1,7 +1,7 @@ # PyPI requirements for cloud-init integration testing # https://cloudinit.readthedocs.io/en/latest/topics/integration_tests.html # -pycloudlib==1!5.3.0 +pycloudlib==1!5.6.0 # Await pytest > 7.3.2. Breaking change in `testpaths` treatment forced # test/unittests/conftest.py to be loaded by our integration-tests tox env diff --git a/tests/integration_tests/modules/test_ubuntu_advantage.py b/tests/integration_tests/modules/test_ubuntu_advantage.py index 7f5481547b4..15f9eaf59a4 100644 --- a/tests/integration_tests/modules/test_ubuntu_advantage.py +++ b/tests/integration_tests/modules/test_ubuntu_advantage.py @@ -112,8 +112,7 @@ def get_services_status(client: IntegrationInstance) -> dict: assert status_resp.ok status = json.loads(status_resp.stdout) return { - svc["name"]: svc["status"] in ["enabled", "warning"] - for svc in status["services"] + svc["name"]: svc["status"] == "enabled" for svc in status["services"] }