summaryrefslogtreecommitdiff
path: root/tests/frontend/push.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-29 15:46:13 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-05-08 03:59:38 +0900
commit11dffaef4b75806b166db1a46b520e6d147d7969 (patch)
treea9d370b13b8d22435c81607a6e0e9ea0085cd2a3 /tests/frontend/push.py
parent2390c81411aee2019cec891ea0be5247e779bc2e (diff)
downloadbuildstream-11dffaef4b75806b166db1a46b520e6d147d7969.tar.gz
_stream.py: Add StreamError exception
Use Stream error for Stream errors.
Diffstat (limited to 'tests/frontend/push.py')
-rw-r--r--tests/frontend/push.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/frontend/push.py b/tests/frontend/push.py
index fa1a91045..71d154696 100644
--- a/tests/frontend/push.py
+++ b/tests/frontend/push.py
@@ -58,7 +58,7 @@ def test_push(cli, tmpdir, datafiles):
# Try pushing with no remotes configured. This should fail.
result = cli.run(project=project, args=['push', 'target.bst'])
- result.assert_main_error(ErrorDomain.PIPELINE, None)
+ result.assert_main_error(ErrorDomain.STREAM, None)
# Configure bst to pull but not push from a cache and run `bst push`.
# This should also fail.
@@ -66,7 +66,7 @@ def test_push(cli, tmpdir, datafiles):
'artifacts': {'url': share1.repo, 'push': False},
})
result = cli.run(project=project, args=['push', 'target.bst'])
- result.assert_main_error(ErrorDomain.PIPELINE, None)
+ result.assert_main_error(ErrorDomain.STREAM, None)
# Configure bst to push to one of the caches and run `bst push`. This works.
cli.configure({