Skip to content

Commit

Permalink
Revert allowing pro service warnings (#4483)
Browse files Browse the repository at this point in the history
This reverts commit 67bb6aa. Since pycloudlib has been updated to
no longer allow a failure of this type, we can be more stringent
in what we allow.

Additionally, bump pycloudlib version accordingly.
  • Loading branch information
TheRealFalcon authored Oct 3, 2023
1 parent d0312fa commit 6ed6b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions tests/integration_tests/modules/test_ubuntu_advantage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}


Expand Down

0 comments on commit 6ed6b69

Please sign in to comment.