diff options
author | Frederick Muriuki Muriithi | 2022-12-22 09:45:20 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-12-22 09:45:20 +0300 |
commit | 8e055558e2e12250fd744caa2b9b3078a3025208 (patch) | |
tree | 1afebda7925e568afaf978b29e8b666e94e27ca8 /gn3/settings.py | |
parent | b0641272491eb51d321b1b8a7d062e395e70800f (diff) | |
download | genenetwork3-8e055558e2e12250fd744caa2b9b3078a3025208.tar.gz |
tests: Setup environment variables and configs
* gn3/settings.py: leave `OAUTH2_ACCESS_TOKEN_GENERATOR` in its default
setting
* tests/unit/auth/fixtures/oauth2_client_fixtures.py: setup
`AUTHLIB_INSECURE_TRANSPORT` before running the OAuth2 tests
* tests/unit/conftest.py: setup the test application's configuration correctly
for the tests.
Diffstat (limited to 'gn3/settings.py')
-rw-r--r-- | gn3/settings.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gn3/settings.py b/gn3/settings.py index 70af723..5fec562 100644 --- a/gn3/settings.py +++ b/gn3/settings.py @@ -67,7 +67,3 @@ MULTIPROCESSOR_PROCS = 6 # Number of processes to spawn AUTH_MIGRATIONS = "migrations/auth" AUTH_DB = os.environ.get( "AUTH_DB", f"{os.environ.get('HOME')}/genenetwork/gn3_files/db/auth.db") - -## OAuth2 Settings -OAUTH2_ACCESS_TOKEN_GENERATOR = os.environ.get( - "OAUTH2_ACCESS_TOKEN_GENERATOR", True) |