aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_verify.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_verify.py')
-rw-r--r--tests/test_verify.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_verify.py b/tests/test_verify.py
index 77eecea..4807de8 100644
--- a/tests/test_verify.py
+++ b/tests/test_verify.py
@@ -1,3 +1,4 @@
+import pytest
import csv
import json
import os
@@ -18,6 +19,8 @@ status_mapping = {
def load_release_ident(ident):
dst = os.path.join(RELEASE_ENTITIES_DIR, ident)
+ if not os.path.exists(dst):
+ pytest.fail("cannot find entity locally, run `make` in tests/data/ to fetch")
with open(dst) as f:
return json.load(f)