Skip to content
This repository was archived by the owner on Dec 22, 2022. It is now read-only.

Commit 198d35f

Browse files
committed
Change assert command for change
1 parent a88871b commit 198d35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigquery/tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def test_initialize_json_key_file(self, mock_open, mock_build, mock_return_cred)
158158

159159
bq_client = client.get_client(project_id, json_key_file=json_key_file, readonly=False)
160160

161-
mock_open.assert_called_once_with(json_key_file, 'rb')
161+
mock_open.assert_called_once_with(json_key_file, 'r')
162162
mock_return_cred.assert_called_once_with()
163163
mock_cred.assert_called_once_with(json_key['client_email'], json_key['private_key'], scope=BIGQUERY_SCOPE)
164164
self.assertTrue(mock_cred.return_value.authorize.called)

0 commit comments

Comments
 (0)