Add comprehensive tests for Parks API and models

- Implemented extensive test cases for the Parks API, covering endpoints for listing, retrieving, creating, updating, and deleting parks.
- Added tests for filtering, searching, and ordering parks in the API.
- Created tests for error handling in the API, including malformed JSON and unsupported methods.
- Developed model tests for Park, ParkArea, Company, and ParkReview models, ensuring validation and constraints are enforced.
- Introduced utility mixins for API and model testing to streamline assertions and enhance test readability.
- Included integration tests to validate complete workflows involving park creation, retrieval, updating, and deletion.
This commit is contained in:
pacnpal
2025-08-17 19:36:20 -04:00
parent 17228e9935
commit c26414ff74
210 changed files with 24155 additions and 833 deletions

25
.env.unraid.bak Normal file
View File

@@ -0,0 +1,25 @@
# ThrillWiki Template-Based VM Configuration
UNRAID_HOST=192.168.86.3
UNRAID_USER=root
UNRAID_PASSWORD=
VM_NAME=thrillwiki-vm
VM_MEMORY=4096
VM_VCPUS=2
VM_DISK_SIZE=50
SSH_PUBLIC_KEY="ssh-rsa [AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED][AWS-SECRET-REMOVED]p7SOH3P3YUNpWwLJKOUgbENCaCF4I0S5QQ== thrillwiki-vm-access"
# Template Configuration
TEMPLATE_VM_NAME=thrillwiki-template-ubuntu
DEPLOYMENT_TYPE=template-based
# Network Configuration
VM_IP=dhcp
VM_GATEWAY=192.168.20.1
VM_NETMASK=255.255.255.0
VM_NETWORK=192.168.20.0/24
# GitHub Configuration
REPO_URL=https://github.com/pacnpal/thrillwiki_django_no_react/
GITHUB_USERNAME=pacnpal
GITHUB_TOKEN=[GITHUB-TOKEN-REMOVED]
GITHUB_API_ENABLED=true