summaryrefslogtreecommitdiff
path: root/tests/integration/source-determinism.py
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2019-01-09 12:36:02 +0000
committerJames Ennis <james.ennis@codethink.com>2019-01-22 12:32:43 +0000
commitfbd159390e97a26f85bb7e8d6284b14bb77083ff (patch)
tree78eb6130d68ceedca256fc6f71f6c19d645abe64 /tests/integration/source-determinism.py
parent9eefe8634a95f181593f4f4b3b18564dd0fa0693 (diff)
downloadbuildstream-fbd159390e97a26f85bb7e8d6284b14bb77083ff.tar.gz
Mark 'old' checkout command as obsolete
This commit marks 'bst checkout' as a 'hidden' command. If used, the user will be prompted to use the new 'bst artifact checkout' command. All tests which used 'bst checkout' have been modified to use the new artifact sub-command. This partially solves #822.
Diffstat (limited to 'tests/integration/source-determinism.py')
-rw-r--r--tests/integration/source-determinism.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/source-determinism.py b/tests/integration/source-determinism.py
index a14f3e5b0..e9a308deb 100644
--- a/tests/integration/source-determinism.py
+++ b/tests/integration/source-determinism.py
@@ -87,7 +87,7 @@ def test_deterministic_source_umask(cli, tmpdir, datafiles, kind, integration_ca
result = cli.run(project=project, args=['build', element_name])
result.assert_success()
- result = cli.run(project=project, args=['checkout', element_name, checkoutdir])
+ result = cli.run(project=project, args=['artifact', 'checkout', element_name, '--directory', checkoutdir])
result.assert_success()
with open(os.path.join(checkoutdir, 'ls-l'), 'r') as f:
@@ -150,7 +150,7 @@ def test_deterministic_source_local(cli, tmpdir, datafiles, integration_cache):
result = cli.run(project=project, args=['build', element_name])
result.assert_success()
- result = cli.run(project=project, args=['checkout', element_name, checkoutdir])
+ result = cli.run(project=project, args=['artifact', 'checkout', element_name, '--directory', checkoutdir])
result.assert_success()
with open(os.path.join(checkoutdir, 'ls-l'), 'r') as f: