Skip to content

Commit

Permalink
tests: fix schema test expected cli output Valid schema <type>
Browse files Browse the repository at this point in the history
  • Loading branch information
blackboxsw committed Nov 1, 2023
1 parent d9436ad commit d78ff37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration_tests/cmd/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ def test_schema_deprecations(self, class_client: IntegrationInstance):
# D3: Default: ``false``. Deprecated in version 22.2. Use ``package_reboot_if_required`` instead.
Valid cloud-config: /root/user-data""" # noqa: E501
Valid schema /root/user-data""" # noqa: E501
)
assert expected_output in annotated_result.stdout
2 changes: 1 addition & 1 deletion tests/integration_tests/modules/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_valid_userdata(client: IntegrationInstance):
"""
result = client.execute("cloud-init schema --system")
assert result.ok
assert "Valid cloud-config: user-data" in result.stdout.strip()
assert "Valid schema user-data" in result.stdout.strip()
result = client.execute("cloud-init status --long")
if not result.ok:
raise AssertionError(
Expand Down

0 comments on commit d78ff37

Please sign in to comment.