Private
Public Access
1
0

deprecating pytest

This commit is contained in:
Sander Roosendaal
2022-02-15 10:29:44 +01:00
parent 628b1ce5f4
commit a7e6401e05

View File

@@ -17,10 +17,12 @@ try:
except KeyError: # pragma: no cover
use_sqlite = False
if 'test' in sys.argv:
for element in sys.argv:
if 'test' in element:
TESTING = True
if TESTING or use_sqlite:
DATABASES = {
'default': {