add the pytest options to the dir-locals

This commit is contained in:
Andreas Zweili 2020-05-01 12:49:05 +02:00
parent e5a224259b
commit 46fe940226
1 changed files with 2 additions and 1 deletions

View File

@ -4,4 +4,5 @@
((python-mode
(pyvenv-activate . "~/git_repos/projects/network_inventory/venv/")
(eval progn
(setenv "DJANGO_SETTINGS_MODULE" "network_inventory.settings.local"))))
(setenv "DJANGO_SETTINGS_MODULE" "network_inventory.settings.local")
(setenv "PYTEST_ADDOPTS" "-n 4 --nomigrations"))))