summaryrefslogtreecommitdiff
path: root/tests/examples/junctions.py
diff options
context:
space:
mode:
authorWilliam Salmon <will.salmon@codethink.co.uk>2018-11-02 15:49:12 +0000
committerWill Salmon <will.salmon@codethink.co.uk>2018-11-21 15:53:03 +0000
commit7bdd44b2000b9ba3fb5742c2d03b7ebe99b0a196 (patch)
tree70e780f81ff24c206efdb21961be9718c048793c /tests/examples/junctions.py
parent2022c3e8419656ca9c0faac17bb7a2041eaf5aca (diff)
downloadbuildstream-7bdd44b2000b9ba3fb5742c2d03b7ebe99b0a196.tar.gz
Workspace CLI update
This is to update the workspace CLI to as agreed on the mailing list https://mail.gnome.org/archives/buildstream-list/2018-September/msg00046.html This patch also introduces the default workspace directory.
Diffstat (limited to 'tests/examples/junctions.py')
-rw-r--r--tests/examples/junctions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/junctions.py b/tests/examples/junctions.py
index 022569c52..97c622bbd 100644
--- a/tests/examples/junctions.py
+++ b/tests/examples/junctions.py
@@ -48,7 +48,7 @@ def test_open_cross_junction_workspace(cli, tmpdir, datafiles):
workspace_dir = os.path.join(str(tmpdir), "workspace_hello_junction")
result = cli.run(project=project,
- args=['workspace', 'open', 'hello-junction.bst:hello.bst', workspace_dir])
+ args=['workspace', 'open', '--directory', workspace_dir, 'hello-junction.bst:hello.bst'])
result.assert_success()
result = cli.run(project=project,