Skip to content

Commit

Permalink
tests: unit tests pass w/o environ vars (googleapis#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored and cojenco committed Oct 13, 2021
1 parent 23e6d0f commit 7421671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_client.py
Original file line number Diff line number Diff line change
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 7421671

Please sign in to comment.