Skip to content

Commit

Permalink
test: Update schema validation error in integration test (#5429)
Browse files Browse the repository at this point in the history
Message changed in 9c3258f
  • Loading branch information
TheRealFalcon committed Jun 21, 2024
1 parent 8fede42 commit ccf5850
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration_tests/cmd/test_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ def test_status_json_errors(client):
assert "Deprecated cloud-config provided:\nca-certs:" in json.loads(
status_json
)["recoverable_errors"].get("DEPRECATED").pop(0)
assert "Invalid cloud-config provided" in json.loads(status_json)["init"][
"recoverable_errors"
].get("WARNING").pop(0)
assert "Invalid cloud-config provided" in json.loads(status_json)[
assert "cloud-config failed schema validation" in json.loads(status_json)[
"init"
]["recoverable_errors"].get("WARNING").pop(0)
assert "cloud-config failed schema validation" in json.loads(status_json)[
"recoverable_errors"
].get("WARNING").pop(0)

Expand Down

0 comments on commit ccf5850

Please sign in to comment.