aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-09-11Some formatting changes and calming down ruff slightlyMatthew Lemon1-1/+0
2024-09-10Replace relative imports with absoluteMatthew Lemon1-5/+5
2024-09-10All tests pass and sign-up page is editableMatthew Lemon2-9/+19
2024-09-08resources tests passingMatthew Lemon4-14/+19
2024-08-03Add S3 utility module and refactor S3 functions into itMatthew Lemon1-1/+1
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.
2024-06-22Removes unnecessary commentMatthew Lemon1-28/+0
2024-06-22Better use of pytest-django markMatthew Lemon1-3/+2
2024-06-22Fixes bug where multiple PDFs not snappshottedMatthew Lemon1-0/+14
Includes test of new function which determines the length and composition of the snappshotted pages.
2024-05-26Basic feature slot presentation in index pageMatthew Lemon2-4/+14
2024-05-26wip: create form now as a feature fieldMatthew Lemon1-1/+0
2024-05-24Tests validation of resource create formMatthew Lemon2-8/+38
In particular related to the new feature_slot field. Ensures that the feature_slot integer must be unique when attempts to save to the database and that the value given in the form is between 1 and 3.
2024-05-22Fixed the failing form testMatthew Lemon1-38/+23
We now pass a MultiValueDict object to which allows self.files.getlist() to work properly inside clean_pdf_files()
2024-05-22Resource now has a feature slot fieldMatthew Lemon3-6/+25
2024-05-22wip: starting to test the featured resource viewMatthew Lemon2-0/+13
2024-05-20wip:Matthew Lemon2-2/+17
- Passing test for raw ORM handling to find snapshot files from an object - Quietens down pytest output
2024-05-16wip: improving the test setupMatthew Lemon1-1/+2
2024-05-16wip: working on setting up the testsMatthew Lemon1-1/+1
2024-05-16wip: starting to test feature resource functionality with factoriesMatthew Lemon2-2/+16
2024-05-16Moving to pytest syntax for testsMatthew Lemon1-13/+13
2024-05-15Migrates tests over from old projectMatthew Lemon8-0/+434