mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2026-01-02 01:47:04 -05:00
feat: Implement initial schema and add various API, service, and management command enhancements across the application.
This commit is contained in:
@@ -196,9 +196,7 @@ class FactoryValidationTestCase(TestCase):
|
||||
from datetime import date
|
||||
|
||||
# Valid dates
|
||||
park = ParkFactory.build(
|
||||
opening_date=date(2020, 1, 1), closing_date=date(2023, 12, 31)
|
||||
)
|
||||
park = ParkFactory.build(opening_date=date(2020, 1, 1), closing_date=date(2023, 12, 31))
|
||||
|
||||
# Verify opening is before closing
|
||||
if park.opening_date and park.closing_date:
|
||||
|
||||
Reference in New Issue
Block a user