Skip to content

Commit

Permalink
Update databroker loader test to use API key
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeaucage authored Sep 3, 2024
1 parent 9d73582 commit 381efbe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_SST1DBLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
SKIP_DB_TESTING=False
except tiled.profiles.ProfileNotFound:
try:
client = tiled.client.from_uri('https://tiled-demo.blueskyproject.io')
SKIP_DB_TESTING=True # waiting on test data to be posted to this server
import os
api_key = os.environ['TILED_API_KEY']
client = tiled.client.from_uri('https://tiled.nsls2.bnl.gov',api_key=api_key)
except Exception:
SKIP_DB_TESTING=True
except ImportError:
Expand Down

0 comments on commit 381efbe

Please sign in to comment.