mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-29 08:07:01 -05:00
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:
25
.env.unraid.bak
Normal file
25
.env.unraid.bak
Normal 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 AAAAB3NzaC1yc2EAAAADAQABAAACAQChs5k6hJ6e4izscPkNWwIzH+ZpKmiltfjIwEE4//j0hCiYKPvNfwOqO9LnGZg9yKwmmQ2/bGlJk9j6bjxdVEOe3ddELlYgPiSa0ObjmqrRG7kC8XGPTnzobsoQafXxgWupt7fWB6PxS7mTncitnMNWMLAbvSf9WPMsdxJfxQQB7jjl7Ex0zmajslDZHIAoxNS6qVJoxQmqD69ZVWTDhzvuCjkAhVTxroPUpRnx391jbRnCnh6/seukqy5jZ+7rdrUDMNFoWMXYnhLcYT1xrA0jy32YR7nw3HNZd2CusYVfz0nglVXX3kV0ar5f5Gu8Y03W5qZe36jR0aWeEocUD15V5GWC4Bkutop2GLYItemhTfXvOFNpfKo50Dp7JHozeNrJNxzUJ/JydMkhibMhvilUXKyhGm28LuNsM6FvkCcetY/+s1wGk9aw0Apd0FEfVhvjznbaInmBIXeedW5qSR1nfn2dXrdsT1QX+t3p5LYUFt6HKi4Rqh78MyZOoI2h0+C7RuHYLRVyhUkX11ihY4fNWgTLWG/t1Coo7mz8gCtiLapAkcxRNGxRso4tBJCfB1sMLxG72RKLjzpf7nUydxGLKWqHySKjXfVYLlc1Tb2Tyzqwk2KR4A4YL9qCHSN0mZzV7c7/heKdp7SOH3P3YUNpWwLJKOUgbENCaCF4I0S5QQ== 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=ghu_FHLDUflhyffJ6EzF895HaNtErib9hz2Z1z4P
|
||||
GITHUB_API_ENABLED=true
|
||||
Reference in New Issue
Block a user