(self, MockApiClient)
| 47 | } |
| 48 | |
| 49 | def test_app(self, MockApiClient): |
| 50 | result = self.runner.invoke(codecarbon, ["--version"]) |
| 51 | self.assertEqual(result.exit_code, 0) |
| 52 | self.assertIn(__app_name__, result.stdout) |
| 53 | self.assertIn(__version__, result.stdout) |
| 54 | |
| 55 | @patch("codecarbon.cli.main.show_config") |
| 56 | @patch("codecarbon.cli.main.get_api_key") |
nothing calls this directly
no outgoing calls
no test coverage detected