We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a84a9a commit 9ee4eaeCopy full SHA for 9ee4eae
fence/jwt/keys.py
@@ -11,10 +11,8 @@
11
return default private key for the app
12
"""
13
14
-import datetime
15
import os
16
17
-import base64
18
from cryptography.hazmat.backends import default_backend
19
from cryptography.hazmat.primitives import serialization
20
import dateutil.parser
migrations/env.py
@@ -27,8 +27,9 @@
27
28
target_metadata = Base.metadata
29
30
+test_config_path = os.environ.get("TEST_CONFIG_PATH")
31
fence_config.load(
- config_path=os.environ.get("TEST_CONFIG_PATH"), # for tests
32
+ config_path=test_config_path, # for tests
33
search_folders=CONFIG_SEARCH_FOLDERS, # for deployments
34
)
35
config.set_main_option("sqlalchemy.url", str(fence_config["DB"]))
0 commit comments