diff options
| author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-06 19:19:47 +0900 |
|---|---|---|
| committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-06 19:26:43 +0900 |
| commit | 5905760a7b63aa8a01eacdc6ef053e39aa0b4b5b (patch) | |
| tree | d6beb17040a1d95bb1c645f06f5c067ef492b378 /tests/sources/patch.py | |
| parent | 8a2f75edd94b91c37b5c0b16597619fb03b96465 (diff) | |
| download | buildstream-5905760a7b63aa8a01eacdc6ef053e39aa0b4b5b.tar.gz | |
local & patch source tests: Preflight errors now report PipelineError
Diffstat (limited to 'tests/sources/patch.py')
| -rw-r--r-- | tests/sources/patch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sources/patch.py b/tests/sources/patch.py index 2f23fd5dd..452b4f64f 100644 --- a/tests/sources/patch.py +++ b/tests/sources/patch.py @@ -21,7 +21,7 @@ def test_missing_patch(cli, tmpdir, datafiles): result = cli.run(project=project, args=[ 'show', 'target.bst' ]) - result.assert_main_error(ErrorDomain.SOURCE, 'patch-no-exist') + result.assert_main_error(ErrorDomain.PIPELINE, 'patch-no-exist') @pytest.mark.datafiles(os.path.join(DATA_DIR, 'basic')) @@ -35,7 +35,7 @@ def test_non_regular_file_patch(cli, tmpdir, datafiles): result = cli.run(project=project, args=[ 'show', 'irregular.bst' ]) - result.assert_main_error(ErrorDomain.SOURCE, "patch-not-a-file") + result.assert_main_error(ErrorDomain.PIPELINE, "patch-not-a-file") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'basic')) |
