mirror of
https://github.com/huge-dream/django-vue3-admin.git
synced 2026-10-02 08:29:19 +00:00
- pytest.ini: use application.test_settings for MSSQL compatibility - conftest.py: move to backend root; use UserFactory with Sequence - application/test_settings.py: NoCreateTestDatabase patch for MSSQL - test_serializers.py: use chinese error keys (django_restql behavior) - test_views.py: use API response code assertions (SuccessResponse format)
8 lines
181 B
INI
8 lines
181 B
INI
[pytest]
|
|
DJANGO_SETTINGS_MODULE = application.test_settings
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
addopts = -v --tb=short
|
|
testpaths = apps tests
|