(self)
| 83 | msg="Fake server did not receive the right body from the UserSecrets client.") |
| 84 | |
| 85 | def test_no_token_fails(self): |
| 86 | env = EnvironmentVarGuard() |
| 87 | env.unset(_KAGGLE_USER_SECRETS_TOKEN_ENV_VAR_NAME) |
| 88 | with env: |
| 89 | with self.assertRaises(CredentialError): |
| 90 | client = UserSecretsClient() |
| 91 | |
| 92 | def test_get_secret_succeeds(self): |
| 93 | secret = '12345' |
nothing calls this directly
no test coverage detected