MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / test_start_stop

Method test_start_stop

tests/test_request_cache.py:205–211  ·  view source on GitHub ↗

start and stop manage cleanup task

(self, cache: RequestCache)

Source from the content-addressed store, hash-verified

203
204 @pytest.mark.asyncio
205 async def test_start_stop(self, cache: RequestCache) -> None:
206 """start and stop manage cleanup task"""
207 await cache.start()
208 assert cache._cleanup_task is not None
209
210 await cache.stop()
211 assert cache._cleanup_task is None
212
213 @pytest.mark.asyncio
214 async def test_exception_in_execute_fn(self, cache: RequestCache) -> None:

Callers

nothing calls this directly

Calls 2

startMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected