mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 09:51:09 -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:
20
.env.webhook.bak
Normal file
20
.env.webhook.bak
Normal file
@@ -0,0 +1,20 @@
|
||||
# ThrillWiki Template-Based Webhook Configuration
|
||||
WEBHOOK_PORT=9000
|
||||
WEBHOOK_SECRET=
|
||||
WEBHOOK_ENABLED=false
|
||||
VM_HOST=dhcp
|
||||
VM_PORT=22
|
||||
VM_USER=thrillwiki
|
||||
VM_KEY_PATH=/Users/talor/.ssh/thrillwiki_vm
|
||||
VM_PROJECT_PATH=/home/thrillwiki/thrillwiki
|
||||
REPO_URL=https://github.com/pacnpal/thrillwiki_django_no_react/
|
||||
DEPLOY_BRANCH=main
|
||||
|
||||
# Template Configuration
|
||||
TEMPLATE_VM_NAME=thrillwiki-template-ubuntu
|
||||
DEPLOYMENT_TYPE=template-based
|
||||
|
||||
# GitHub API Configuration
|
||||
GITHUB_USERNAME=pacnpal
|
||||
GITHUB_TOKEN=[GITHUB-TOKEN-REMOVED]
|
||||
GITHUB_API_ENABLED=true
|
||||
Reference in New Issue
Block a user