diff options
Diffstat (limited to 'tests/integration_tests/modules/test_cli.py')
-rw-r--r-- | tests/integration_tests/modules/test_cli.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/integration_tests/modules/test_cli.py b/tests/integration_tests/modules/test_cli.py index 30f56ad7..e1bcd7c7 100644 --- a/tests/integration_tests/modules/test_cli.py +++ b/tests/integration_tests/modules/test_cli.py @@ -58,7 +58,10 @@ def test_invalid_userdata(client: IntegrationInstance): result = client.execute("cloud-init schema --system") assert not result.ok assert "Cloud config schema errors" in result.stderr - assert 'needs to begin with "#cloud-config"' in result.stderr + assert ( + "Expected first line to be one of: #!, ## template: jinja," + " #cloud-boothook, #cloud-config" in result.stderr + ) result = client.execute("cloud-init status --long") if not result.ok: raise AssertionError( |