diff options
author | Chad Smith <chad.smith@canonical.com> | 2020-11-18 07:23:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 09:23:44 -0500 |
commit | f680114446a5a20ce88f3d10d966811a774c8e8f (patch) | |
tree | 936dfbe130d693abc0a9c87ba0367bfc276674bc /tests/unittests/test_cli.py | |
parent | e1bde919923ff1f9d1d197f64ea43b976f034062 (diff) | |
download | vyos-cloud-init-f680114446a5a20ce88f3d10d966811a774c8e8f.tar.gz vyos-cloud-init-f680114446a5a20ce88f3d10d966811a774c8e8f.zip |
cli: add --system param to allow validating system user-data on a machine (#575)
Allow root user to validate the userdata provided to the launched
machine using `cloud-init devel schema --system`
Diffstat (limited to 'tests/unittests/test_cli.py')
-rw-r--r-- | tests/unittests/test_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_cli.py b/tests/unittests/test_cli.py index dcf0fe5a..74f85959 100644 --- a/tests/unittests/test_cli.py +++ b/tests/unittests/test_cli.py @@ -214,7 +214,7 @@ class TestCLI(test_helpers.FilesystemMockingTestCase): self.assertEqual(1, exit_code) # Known whitebox output from schema subcommand self.assertEqual( - 'Expected either --config-file argument or --docs\n', + 'Expected one of --config-file, --system or --docs arguments\n', self.stderr.getvalue()) def test_wb_devel_schema_subcommand_doc_content(self): |