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

Method test_no_token_fails

tests/test_datasets.py:105–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 msg="Fake server did not receive the right X-Kaggle-Authorization header from the KaggleDatasets client.")
104
105 def test_no_token_fails(self):
106 env = EnvironmentVarGuard()
107 env.unset(_KAGGLE_USER_SECRETS_TOKEN_ENV_VAR_NAME)
108 with env:
109 with self.assertRaises(CredentialError):
110 client = KaggleDatasets()
111
112 def test_get_gcs_path_tpu_succeeds(self):
113 def call_get_gcs_path():

Callers

nothing calls this directly

Calls 1

KaggleDatasetsClass · 0.90

Tested by

no test coverage detected