aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/tests/test_models.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-19 21:02:59 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-19 21:02:59 +0100
commitc121648619c674aaf70cf1efb41ede6f2fe8429c (patch)
tree5da07012f616bd53c73ffcf91ae52d8033d44b73 /pyblackbird_cc/resources/tests/test_models.py
parent51bbea4361d4fafe93997ed0f3dae05be8389c96 (diff)
Looking crap but getting there - the basket...
Diffstat (limited to 'pyblackbird_cc/resources/tests/test_models.py')
-rw-r--r--pyblackbird_cc/resources/tests/test_models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/tests/test_models.py b/pyblackbird_cc/resources/tests/test_models.py
index 40c13e4..bfc5a38 100644
--- a/pyblackbird_cc/resources/tests/test_models.py
+++ b/pyblackbird_cc/resources/tests/test_models.py
@@ -116,4 +116,6 @@ class TestPDFResourceModel(TestCase):
@pytest.mark.django_db()
def test_get_urls_of_resource_snapshot_images(resource):
assert len(resource.thumbnail_filenames) == 3
+ # crude but it does the job; concatenating a list of URLS into one long sting...
+ assert "https://ams3.digitaloceanspaces.com" in "".join(resource.thumbnail_urls())