add client
This commit is contained in:
@@ -20,6 +20,7 @@ def pytest_configure():
|
||||
os.environ['JWT_SECRET'] = 'secret'
|
||||
os.environ['DYNAMODB_PARTITION_KEY'] = PK
|
||||
os.environ['DYNAMODB_SORT_KEY'] = SK
|
||||
os.environ['ISSUER'] = 'http://localhost'
|
||||
os.environ['OAUTH2_SCOPES_SUPPORTED'] = 'openid profile email offline_access'
|
||||
# os.environ['POWERTOOLS_LOGGER_LOG_EVENT'] = 'true'
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ def test_authorize(
|
||||
)
|
||||
|
||||
assert 'Location' in r['headers']
|
||||
print(r)
|
||||
|
||||
r = dynamodb_persistence_layer.query(
|
||||
key_cond_expr='#pk = :pk',
|
||||
|
||||
Reference in New Issue
Block a user