Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add missing assert to test_status.py #5494

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/integration_tests/cmd/test_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_status_json_errors(client):
fi
cloud-init status --wait --long > $1
date +%s.%N > $MARKER_FILE
""" # noqa: E501
"""


BEFORE_CLOUD_INIT_LOCAL = """\
Expand Down Expand Up @@ -162,7 +162,7 @@ def test_status_block_through_all_boot_status(client):

# Assert that before-cloud-init-local.service started before
# cloud-init-local.service could create status.json
client.execute("test -f /before-local.start-hasstatusjson").failed
assert client.execute("test -f /before-local.start-hasstatusjson").failed

early_unit_timestamp = retry_read_from_file(
client, "/before-local.start-nostatusjson"
Expand Down
Loading