Skip to content

Commit 844ce4f

Browse files
authored
tests: unit tests pass w/o environ vars (#207)
Closes: #206
1 parent 008224b commit 844ce4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@ def test_conformance_post_policy(test_data):
18441844
in_data = test_data["policyInput"]
18451845
timestamp = datetime.datetime.strptime(in_data["timestamp"], "%Y-%m-%dT%H:%M:%SZ")
18461846

1847-
client = Client(credentials=_DUMMY_CREDENTIALS)
1847+
client = Client(credentials=_DUMMY_CREDENTIALS, project="PROJECT")
18481848

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

0 commit comments

Comments
 (0)