Merge pull request 'Anmeldung per LDAP' (#35) from feature-ldap into main

Reviewed-on: kompetenzinventar/ki-backend#35
This commit is contained in:
2021-07-26 19:44:19 +02:00
7 changed files with 116 additions and 24 deletions

View File

@ -15,8 +15,10 @@ class ApiTest(unittest.TestCase):
def setUp(self):
app.debug = True
app.config["KI_AUTH"] = "file"
app.config["TESTING"] = True
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///:memory:"
self.client = app.test_client()
with app.app_context():