Skip to content

Commit

Permalink
tests: unit tests pass w/o environ vars (#207)
Browse files Browse the repository at this point in the history
Closes: #206
  • Loading branch information
tseaver committed Jul 21, 2020
1 parent 008224b commit 844ce4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_client.py
Expand Up @@ -1844,7 +1844,7 @@ def test_conformance_post_policy(test_data):
in_data = test_data["policyInput"]
timestamp = datetime.datetime.strptime(in_data["timestamp"], "%Y-%m-%dT%H:%M:%SZ")

client = Client(credentials=_DUMMY_CREDENTIALS)
client = Client(credentials=_DUMMY_CREDENTIALS, project="PROJECT")

# mocking time functions
with mock.patch("google.cloud.storage._signing.NOW", return_value=timestamp):
Expand Down

0 comments on commit 844ce4f

Please sign in to comment.