MCPcopy Create free account
hub / github.com/Kaggle/docker-python / _setup_mocks

Method _setup_mocks

tests/test_bigquery.py:58–59  ·  view source on GitHub ↗
(self, api_url_mock)

Source from the content-addressed store, hash-verified

56 HTTPHandler.bearer_header_found, msg="authorization header was missing from the BQ request.")
57
58 def _setup_mocks(self, api_url_mock):
59 api_url_mock.__str__.return_value = self.API_BASE_URL
60
61 @patch.object(kaggle_secrets.UserSecretsClient, 'get_bigquery_access_token', return_value=('secret',1000))
62 def test_project_with_connected_account(self, mock_access_token):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected