MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / setUp

Method setUp

tests/usage/test_usage_lib.py:366–369  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

364 """Test _report_usage_worker method"""
365
366 def setUp(self):
367 self.usage_message = UsageMessage()
368 self.mock_fd_config = MagicMock()
369 self.mock_extra_kvs = {"test_param": "test_value"}
370
371 @patch("fastdeploy.usage.usage_lib.UsageMessage._report_usage_once")
372 @patch("fastdeploy.usage.usage_lib.UsageMessage._report_continuous_usage")

Callers

nothing calls this directly

Calls 1

UsageMessageClass · 0.90

Tested by

no test coverage detected