Initial commit

This commit is contained in:
ThePetrovich 2026-08-18 22:05:57 +08:00
commit fe5ef9132a
15 changed files with 888 additions and 0 deletions

19
tests/settings.py Normal file
View file

@ -0,0 +1,19 @@
SECRET_KEY = "test-only"
DEBUG = True
USE_TZ = True
PRODUCTION = False
YKSA_SERVICE = "poller"
INSTALLED_APPS = [
"django.contrib.contenttypes",
"django.contrib.auth",
"yksa_kit",
"tests.testapp",
]
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}}
CACHES = {"default": {"BACKEND": "django.core.cache.backends.locmem.LocMemCache"}}
CELERY_TASK_ALWAYS_EAGER = True