summaryrefslogtreecommitdiff
path: root/tests/sources/git.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/sources/git.py
parent2390c81411aee2019cec891ea0be5247e779bc2e (diff)
downloadbuildstream-11dffaef4b75806b166db1a46b520e6d147d7969.tar.gz
_stream.py: Add StreamError exception
Use Stream error for Stream errors.
Diffstat (limited to 'tests/sources/git.py')
-rw-r--r--tests/sources/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sources/git.py b/tests/sources/git.py
index bc69d0579..06888c311 100644
--- a/tests/sources/git.py
+++ b/tests/sources/git.py
@@ -35,7 +35,7 @@ def test_fetch_bad_ref(cli, tmpdir, datafiles):
result = cli.run(project=project, args=[
'fetch', 'target.bst'
])
- result.assert_main_error(ErrorDomain.PIPELINE, None)
+ result.assert_main_error(ErrorDomain.STREAM, None)
result.assert_task_error(ErrorDomain.SOURCE, None)