summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-02 20:04:59 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-02 20:04:59 +0900
commit22c6ef1742500f9354275da5028977eaccbbb094 (patch)
tree9b1209c654b79b90bf5a78d59544a80ccdc599f6
parent202dd7cd1d51ae475fa578b1097e735ae8e3659a (diff)
downloadbuildstream-22c6ef1742500f9354275da5028977eaccbbb094.tar.gz
tests/frontend/workspace.py: Fix inaccurate comments
-rw-r--r--tests/frontend/workspace.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py
index b9744159b..7d5fd36b0 100644
--- a/tests/frontend/workspace.py
+++ b/tests/frontend/workspace.py
@@ -106,8 +106,7 @@ def test_open_track(cli, tmpdir, datafiles, kind):
def test_close(cli, tmpdir, datafiles, kind):
element_name, project, workspace = open_workspace(cli, tmpdir, datafiles, kind, False)
- # Now open the workspace, this should have the
- # effect of automatically fetching the source from the repo.
+ # Close the workspace
result = cli.run(project=project, args=[
'workspace', 'close', '--remove-dir', element_name
])
@@ -125,8 +124,7 @@ def test_close_removed(cli, tmpdir, datafiles, kind):
# Remove it first, closing the workspace should work
shutil.rmtree(workspace)
- # Now open the workspace, this should have the
- # effect of automatically fetching the source from the repo.
+ # Close the workspace
result = cli.run(project=project, args=[
'workspace', 'close', element_name
])
@@ -163,8 +161,7 @@ def test_reset(cli, tmpdir, datafiles, kind):
def test_list(cli, tmpdir, datafiles, kind):
element_name, project, workspace = open_workspace(cli, tmpdir, datafiles, kind, False)
- # Now reset the open workspace, this should have the
- # effect of reverting our changes.
+ # Now list the workspaces
result = cli.run(project=project, args=[
'workspace', 'list'
])