(self)
| 383 | """Test _report_usage_once method""" |
| 384 | |
| 385 | def setUp(self): |
| 386 | self.usage_message = UsageMessage() |
| 387 | self.mock_fd_config = MagicMock() |
| 388 | |
| 389 | # Setup mock FDConfig |
| 390 | self.mock_fd_config.model_config.architectures = ["TestModel"] |
| 391 | self.mock_fd_config.model_config.quantization = None |
| 392 | |
| 393 | @patch("fastdeploy.usage.usage_lib.current_platform") |
| 394 | @patch("fastdeploy.usage.usage_lib.cuda_device_count") |
nothing calls this directly
no test coverage detected