aboutsummaryrefslogtreecommitdiff
path: root/tests/test_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build.py')
-rw-r--r--tests/test_build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index 77b1898..3d564e3 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -582,7 +582,7 @@ def sample_source_error_missing_file(monkeypatch, sample_source):
Modify index.json to expect missing report.spdx file and cause an error.
"""
monkeypatch.delitem(index_obj, 'reuse_generate_spdx_report')
- return FileNotFoundError,
+ return FileReferenceError, '^referenced_file_report.spdx_missing$'
@error_maker
def sample_source_error_index_schema(monkeypatch, sample_source):