mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-24 00:11:10 -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:
33
.thrillwiki-template-config
Normal file
33
.thrillwiki-template-config
Normal file
@@ -0,0 +1,33 @@
|
||||
# ThrillWiki Template-Based Automation Configuration
|
||||
# This file stores your settings to avoid re-entering them each time
|
||||
|
||||
# Unraid Server Configuration
|
||||
UNRAID_HOST="192.168.86.3"
|
||||
UNRAID_USER="root"
|
||||
VM_NAME="thrillwiki-vm"
|
||||
VM_MEMORY="4096"
|
||||
VM_VCPUS="2"
|
||||
VM_DISK_SIZE="50"
|
||||
|
||||
# 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_API_ENABLED="true"
|
||||
GITHUB_AUTH_METHOD="token"
|
||||
|
||||
# Webhook Configuration
|
||||
WEBHOOK_PORT="9000"
|
||||
WEBHOOK_ENABLED="false"
|
||||
|
||||
# SSH Configuration (path to key, not the key content)
|
||||
SSH_KEY_PATH="/Users/talor/.ssh/thrillwiki_vm"
|
||||
Reference in New Issue
Block a user