mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Make sure not staff is set for tests
This commit is contained in:
parent
53a9f6b560
commit
437a3e0c36
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ from copanier.models import Delivery, Person, Product
|
|||
def pytest_configure(config):
|
||||
os.environ["COPANIER_DATA_ROOT"] = "tmp/db"
|
||||
os.environ["COPANIER_SEND_EMAILS"] = ""
|
||||
os.environ["COPANIER_STAFF"] = ""
|
||||
kconfig.init()
|
||||
assert str(kconfig.DATA_ROOT) == "tmp/db"
|
||||
|
||||
|
|
Loading…
Reference in a new issue