Home
last modified time | relevance | path

Searched refs:m_asyncio (Results 1 – 4 of 4) sorted by relevance

/dports/www/py-gunicorn/gunicorn-19.9.0/tests/
H A Dtest_gaiohttp.py36 def test_init_process(self, m_asyncio): argument
44 self.assertTrue(m_asyncio.get_event_loop.return_value.close.called)
45 self.assertTrue(m_asyncio.new_event_loop.called)
46 self.assertTrue(m_asyncio.set_event_loop.called)
49 def test_run(self, m_asyncio): argument
53 self.assertTrue(m_asyncio.ensure_future.called)
68 def test__run(self, m_asyncio): argument
88 def test__run_unix_socket(self, m_asyncio): argument
/dports/www/py-aiohttp/aiohttp-3.7.4.post0/tests/
H A Dtest_worker.py66 with mock.patch("aiohttp.worker.asyncio") as m_asyncio:
72 assert m_asyncio.get_event_loop.return_value.close.called
73 assert m_asyncio.new_event_loop.called
74 assert m_asyncio.set_event_loop.called
H A Dtest_helpers.py354 with mock.patch("aiohttp.helpers.asyncio") as m_asyncio:
355 m_asyncio.TimeoutError = asyncio.TimeoutError
365 assert m_asyncio.current_task.return_value.cancel.called
367 assert m_asyncio.Task.current_task.return_value.cancel.called
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/endpoints/mod_gsmopen/libctb-0.16/python/src/
H A Dgpib.i73 int m_asyncio; variable