-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ target/ | |
|
||
# DotEnv configuration | ||
.env | ||
.env.back | ||
|
||
# Database | ||
*.db | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,10 @@ | |
import copy | ||
|
||
from flaat import issuers | ||
from flaat.test_env import FLAAT_TRUSTED_OPS_LIST | ||
from pytest_cases import fixture | ||
|
||
|
||
@fixture(scope="session", params=["ProductionConfig"]) | ||
@fixture(scope="session", params=["flaat.test_env"]) | ||
def configuration(request): | ||
return request.param | ||
|
||
|
@@ -19,7 +18,7 @@ def app(configuration): | |
from examples.example_flask import create_app | ||
|
||
app = create_app(configuration) | ||
app.config["TRUSTED_OP_LIST"] = FLAAT_TRUSTED_OPS_LIST | ||
app.config["ADMIN_EMAILS"] = ["[email protected]", "[email protected]"] | ||
app.config["TESTING"] = True | ||
# other setup can go here | ||
yield app | ||
|