summaryrefslogtreecommitdiff
path: root/tests/frontend/version.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-01-01 19:16:32 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-01-01 19:44:53 +0900
commit54265b7a9e6f493796bcb9c65682a73013e2a600 (patch)
treed178b17ac2e62497b5217da63d65558da894d2cc /tests/frontend/version.py
parentc1b3a483d17337b45c9118ba2580437a89db2271 (diff)
downloadbuildstream-54265b7a9e6f493796bcb9c65682a73013e2a600.tar.gz
tests/frontend: Updating tests to use new error checks
This also fixes #177 - the problem here was solved simply by passing the project directory to `cli.run(project=project...)`
Diffstat (limited to 'tests/frontend/version.py')
-rw-r--r--tests/frontend/version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/version.py b/tests/frontend/version.py
index 69112d685..8be2e9271 100644
--- a/tests/frontend/version.py
+++ b/tests/frontend/version.py
@@ -16,5 +16,5 @@ def assert_version(cli_version_output):
def test_version(cli):
result = cli.run(args=['--version'])
- assert result.exit_code == 0
+ result.assert_success()
assert_version(result.output)