Skip to content

Commit a94a7d0

Browse files
committed
added an assert
1 parent 536d133 commit a94a7d0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/test_api.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,7 @@ def test_v2_read():
6060
try:
6161
reader = Reader.from_file("tests/fixtures/C.jpg")
6262
manifest = reader.get_active_manifest()
63-
if manifest is None:
64-
print("No active manifest found")
65-
exit(1)
66-
#jsonReport = reader.json()
67-
#manifest_store = json.loads(jsonReport)
68-
#manifest = manifest_store["manifests"][manifest_store["active_manifest"]]
63+
assert manifest is not None
6964
assert "make_test_images" in manifest["claim_generator"]
7065
assert manifest["title"]== "C.jpg"
7166
assert manifest["format"] == "image/jpeg"

0 commit comments

Comments
 (0)