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

Method test_no_token_fails

tests/test_user_session.py:74–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 msg="Fake server did not receive the right body from UserSessionClient.")
73
74 def test_no_token_fails(self):
75 env = EnvironmentVarGuard()
76 env.unset(_KAGGLE_USER_SECRETS_TOKEN_ENV_VAR_NAME)
77 with env:
78 with self.assertRaises(CredentialError):
79 client = UserSessionClient()
80
81 def test_get_exportable_ipynb_succeeds(self):
82 source = "import foo"

Callers

nothing calls this directly

Calls 1

UserSessionClientClass · 0.90

Tested by

no test coverage detected