test: allow to run playwright tests directly with py.test cli
This commit is contained in:
parent
4c03f012bd
commit
c35c6ee78c
2 changed files with 4 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -50,7 +50,7 @@ test:
|
|||
py.test -xv umap/tests/
|
||||
|
||||
test-integration:
|
||||
DJANGO_ALLOW_ASYNC_UNSAFE=1 py.test -xv umap/tests/integration/
|
||||
py.test -xv umap/tests/integration/
|
||||
|
||||
clean:
|
||||
rm -f dist/*
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import os
|
||||
|
||||
os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "1"
|
Loading…
Reference in a new issue