diff options
author | Matthew Lemon <y@yulqen.org> | 2024-08-03 20:30:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-08-03 20:30:31 +0100 |
commit | a4de4737f0e97aa005281f9ac79482149a1d5bb7 (patch) | |
tree | 74f186cee81c811f765646eaba03c3b7f9a2e07d /pyblackbird_cc/resources/tests/test_file_processing.py | |
parent | a53e1c79714d05807d42a50010b44d13721934c3 (diff) |
Add S3 utility module and refactor S3 functions into it
Created a new `s3.py` utility module for handling S3 interactions including file uploads and generating presigned URLs. Refactored views to utilize these new utility functions and moved the PDF collection type function to a new `utils.py` module to improve code organization and readability.
Diffstat (limited to 'pyblackbird_cc/resources/tests/test_file_processing.py')
-rw-r--r-- | pyblackbird_cc/resources/tests/test_file_processing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/tests/test_file_processing.py b/pyblackbird_cc/resources/tests/test_file_processing.py index e3514c9..0a0f1a3 100644 --- a/pyblackbird_cc/resources/tests/test_file_processing.py +++ b/pyblackbird_cc/resources/tests/test_file_processing.py @@ -5,7 +5,7 @@ from django.core.files.uploadedfile import TemporaryUploadedFile from django.test import TestCase from django.urls import reverse -from pyblackbird_cc.resources.views import _get_pdf_collection_type +from ..utils import _get_pdf_collection_type from .. import services |