(self, mock_load)
| 223 | |
| 224 | @patch("codecarbon.cli.auth._load_credentials") |
| 225 | def test_get_id_token(self, mock_load): |
| 226 | mock_load.return_value = {"id_token": "i"} |
| 227 | self.assertEqual(auth.get_id_token(), "i") |
| 228 | |
| 229 | @patch("codecarbon.cli.auth._save_credentials") |
| 230 | @patch("codecarbon.cli.auth.webbrowser.open") |
nothing calls this directly
no outgoing calls
no test coverage detected