Skip to content

Commit

Permalink
use api_key in integration tests
Browse files Browse the repository at this point in the history
except for in test_projects
  • Loading branch information
rchacon1 committed Jan 25, 2025
1 parent be060c0 commit 5afd3a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integration/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ def setUp(self):
self.host = os.environ["SCRUNCH_HOST"]
if self.host[-1] != "/":
self.host += "/"
username = os.environ["SCRUNCH_USER"]
password = os.environ["SCRUNCH_PASS"]
api_key = os.environ.get("CRUNCH_API_KEY") or ""
self.site = connect(username, password, self.host, api_key=api_key)
self.site = connect("", "", self.host, api_key=api_key)
assert self.site is not None, "Unable to connect to %s" % self.host


Expand Down

0 comments on commit 5afd3a4

Please sign in to comment.