Skip to content

Commit

Permalink
heart of update - will still finish tests
Browse files Browse the repository at this point in the history
  • Loading branch information
duboyal committed Mar 18, 2024
1 parent 74104b1 commit fa2cdfc
Show file tree
Hide file tree
Showing 4 changed files with 1,636 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def cript_api():
"""
storage_token = os.getenv("CRIPT_STORAGE_TOKEN")

with cript.API(host=None, api_token=None, storage_token=storage_token, default_log_level=logging.DEBUG) as api:
with cript.API(host=None, api_token=None, storage_token=storage_token, default_log_level=logging.WARNING) as api:
# ^^ was default_log_level=logging.DEBUG
# overriding AWS S3 cognito variables to be sure we do not upload test data to production storage
# staging AWS S3 cognito storage variables
api._IDENTITY_POOL_ID = "us-east-1:25043452-a922-43af-b8a6-7e938a9e55c1"
Expand All @@ -59,6 +60,7 @@ def cript_api():
# using the tests folder name within our cloud storage
api._BUCKET_DIRECTORY_NAME = "tests"
api.extra_api_log_debug_info = True
# api.schema.skip_validation = True

yield api

Expand Down
Loading

0 comments on commit fa2cdfc

Please sign in to comment.