Skip to content

Commit e3aaea5

Browse files
committed
tests: narrow down failure
1 parent 88fb2dc commit e3aaea5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ckanext/dc_serve/tests/test_route.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import ckan.tests.factories as factories
55
import dcor_shared
6+
from dcor_shared import s3cc
67

78
import pytest
89

@@ -38,6 +39,10 @@ def test_route_redircet_condensed_to_s3_private(enqueue_job_mock, app):
3839
assert "s3_available" in res_dict
3940
assert "s3_url" in res_dict
4041

42+
# sanity check
43+
assert s3cc.artifact_exists(rid, artifact="resource")
44+
assert s3cc.artifact_exists(rid, artifact="condensed")
45+
4146
did = ds_dict["id"]
4247
# We should not be authorized to access the resource without API token
4348
resp0 = app.get(

0 commit comments

Comments
 (0)