File tree 1 file changed +4
-6
lines changed 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,10 @@ def test_gcloud_bigquery_factory(monkeypatch):
45
45
def test_gcloud_gcs_factory (monkeypatch ):
46
46
client = pretend .stub ()
47
47
48
- storage_Client = pretend .stub (
49
- from_service_account_json = pretend .call_recorder (
50
- lambda path , project : client
51
- )
48
+ storage_client = pretend .stub (
49
+ from_service_account_json = pretend .call_recorder (lambda path , project : client )
52
50
)
53
- monkeypatch .setattr (gcloud , "storage_Client" , storage_Client )
51
+ monkeypatch .setattr (gcloud , "storage_Client" , storage_client )
54
52
55
53
request = pretend .stub (
56
54
registry = pretend .stub (
@@ -62,7 +60,7 @@ def test_gcloud_gcs_factory(monkeypatch):
62
60
)
63
61
64
62
assert gcloud .gcloud_gcs_factory (None , request ) is client
65
- assert storage_Client .from_service_account_json .calls == [
63
+ assert storage_client .from_service_account_json .calls == [
66
64
pretend .call ("/the/path/to/gcloud.json" , project = "my-cool-project" )
67
65
]
68
66
You can’t perform that action at this time.
0 commit comments