Browse Source

Fix tests hackily

Getty Ritter 4 years ago
parent
commit
d76270c906
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/model.py

+ 2 - 0
tests/model.py

@@ -1,6 +1,8 @@
+import os
 import peewee
 import pytest
 
+os.environ["APP_PATH"] = "test"
 import lc.config as c
 import lc.error as e
 import lc.request as r