diff options
author | James Ennis <james.ennis@codethink.com> | 2019-01-07 18:00:54 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2019-01-22 12:32:43 +0000 |
commit | a3fc350fdf64897ae386aa913a55318d6b048276 (patch) | |
tree | 088bfa82769eb6f72262b430f51936a8a9249c16 /tests/sandboxes | |
parent | ac13533300da75472e53d36ec03b4dddf4fe6c73 (diff) | |
download | buildstream-a3fc350fdf64897ae386aa913a55318d6b048276.tar.gz |
Move push and pull to the new artifact subcommand group
This commit also ensures that if we try to use the 'old' commands,
BuildStream will fail and instruct the user to use the new command.
Diffstat (limited to 'tests/sandboxes')
-rw-r--r-- | tests/sandboxes/remote-exec-config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sandboxes/remote-exec-config.py b/tests/sandboxes/remote-exec-config.py index 31cb072f2..9cf0a8f08 100644 --- a/tests/sandboxes/remote-exec-config.py +++ b/tests/sandboxes/remote-exec-config.py @@ -42,7 +42,7 @@ def test_old_and_new_configs(cli, datafiles): # Use `pull` here to ensure we try to initialize the remotes, triggering the error # # This does not happen for a simple `bst show`. - result = cli.run(project=project, args=['pull', 'element.bst']) + result = cli.run(project=project, args=['artifact', 'pull', 'element.bst']) result.assert_main_error(ErrorDomain.LOAD, LoadErrorReason.INVALID_DATA, "specify one") @@ -97,5 +97,5 @@ def test_empty_config(cli, datafiles): # Use `pull` here to ensure we try to initialize the remotes, triggering the error # # This does not happen for a simple `bst show`. - result = cli.run(project=project, args=['pull', 'element.bst']) + result = cli.run(project=project, args=['artifact', 'pull', 'element.bst']) result.assert_main_error(ErrorDomain.LOAD, LoadErrorReason.INVALID_DATA, "specify one") |