diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
commit | eeaddb27560d723ca7d61359744ceb2709fccd2d (patch) | |
tree | 04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /alphabetlearning/resources/tests/test_models.py | |
parent | 7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff) |
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to '')
-rw-r--r-- | alphabetlearning/resources/tests/test_models.py (renamed from pyblackbird_cc/resources/tests/test_models.py) | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pyblackbird_cc/resources/tests/test_models.py b/alphabetlearning/resources/tests/test_models.py index bfc5a38..0fd589a 100644 --- a/pyblackbird_cc/resources/tests/test_models.py +++ b/alphabetlearning/resources/tests/test_models.py @@ -5,15 +5,15 @@ import pytest from django.db import IntegrityError from django.test import TestCase -from pyblackbird_cc.resources.factories import PDFPageSnapshotModelFactory -from pyblackbird_cc.resources.factories import ResourceModelFactory -from pyblackbird_cc.resources.models import PDFPageSnapshot -from pyblackbird_cc.resources.models import PDFResource -from pyblackbird_cc.resources.models import Resource -from pyblackbird_cc.resources.models import ResourceCategory -from pyblackbird_cc.resources.models import ResourceType -from pyblackbird_cc.resources.views import ResourceInfo -from pyblackbird_cc.resources.views import _extract_metadata_from_resource +from alphabetlearning.resources.factories import PDFPageSnapshotModelFactory +from alphabetlearning.resources.factories import ResourceModelFactory +from alphabetlearning.resources.models import PDFPageSnapshot +from alphabetlearning.resources.models import PDFResource +from alphabetlearning.resources.models import Resource +from alphabetlearning.resources.models import ResourceCategory +from alphabetlearning.resources.models import ResourceType +from alphabetlearning.resources.views import ResourceInfo +from alphabetlearning.resources.views import _extract_metadata_from_resource @pytest.mark.django_db() @@ -118,4 +118,3 @@ 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()) - |