test(api): use pytest to run api tests (#1645)
This commit is contained in:
parent
ad14e3f525
commit
9d0c098684
|
@ -13,7 +13,7 @@ clean: .clean
|
|||
|
||||
test: $(VENV)
|
||||
source $(VENV)/bin/activate
|
||||
DJANGO_SETTINGS_MODULE=libretime_api.settings.testing libretime-api test libretime_api
|
||||
DJANGO_SETTINGS_MODULE=libretime_api.settings.testing pytest -n $(CPU_CORES) --color=yes -v libretime_api
|
||||
|
||||
schema: $(VENV)
|
||||
source $(VENV)/bin/activate
|
||||
|
|
|
@ -49,6 +49,7 @@ setup(
|
|||
"model_bakery",
|
||||
"psycopg2-binary",
|
||||
"pylint-django",
|
||||
"pytest-django",
|
||||
f"libretime-shared @ file://localhost/{here.parent / 'shared'}#egg=libretime_shared",
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue