• Home
  • Raw
  • Download

Lines Matching refs:assertIsInstance

82             self.assertIsInstance(mock_method, AsyncMock)
89 self.assertIsInstance(mock_method, AsyncMock)
96 self.assertIsInstance(mock_method, AsyncMock)
107 self.assertIsInstance(async_func, AsyncMock)
108 self.assertIsInstance(async_func_args, AsyncMock)
137 self.assertIsInstance(mock_method, AsyncMock)
144 self.assertIsInstance(async_func, AsyncMock)
181 self.assertIsInstance(mock, asyncio.Future)
188 self.assertIsInstance(mock_method.async_method, AsyncMock)
189 self.assertIsInstance(mock_method, MagicMock)
193 self.assertIsInstance(mock_method.normal_method, MagicMock)
204 self.assertIsInstance(create_autospec(awaitable_mock), AsyncMock)
238 self.assertIsInstance(mock_method.mock, AsyncMock)
272 self.assertIsInstance(mock.async_method, AsyncMock)
273 self.assertIsInstance(mock.normal_method, MagicMock)
281 self.assertIsInstance(mock.async_method, AsyncMock)
282 self.assertIsInstance(mock.normal_method, Mock)
287 self.assertIsInstance(async_mock, mock_type)
292 self.assertIsInstance(sync_mock, mock_type)
301 self.assertIsInstance(async_mock, mock_type)
306 self.assertIsInstance(sync_mock, mock_type)
314 self.assertIsInstance(mock, AsyncMock)
321 self.assertIsInstance(mock, AsyncMock)
329 self.assertIsInstance(mock_method, AsyncMock)
336 self.assertIsInstance(mock_method, MagicMock)
337 self.assertIsInstance(mock_method.async_method, AsyncMock)
344 self.assertIsInstance(mock_method, MagicMock)
353 self.assertIsInstance(mock_async_func, AsyncMock)
359 self.assertIsInstance(MockNormalClass.async_method, AsyncMock)
360 self.assertIsInstance(MockNormalClass, MagicMock)
369 self.assertIsInstance(async_method, AsyncMock)
375 self.assertIsInstance(mock, AsyncMock)
381 self.assertIsInstance(mock.async_method, AsyncMock)
382 self.assertIsInstance(mock.normal_method, MagicMock)
383 self.assertIsInstance(mock, MagicMock)
390 self.assertIsInstance(cm, MagicMock)
453 self.assertIsInstance(result, asyncio.Future)
461 self.assertIsInstance(result, asyncio.Future)
517 self.assertIsInstance(m_mock.__aenter__, AsyncMock)
518 self.assertIsInstance(m_mock.__aexit__, AsyncMock)
519 self.assertIsInstance(m_mock.__anext__, AsyncMock)
522 self.assertIsInstance(m_mock.__aiter__, MagicMock)
526 self.assertIsInstance(a_mock.__enter__, MagicMock)
527 self.assertIsInstance(a_mock.__exit__, MagicMock)
528 self.assertIsInstance(a_mock.__next__, MagicMock)
529 self.assertIsInstance(a_mock.__len__, MagicMock)
546 self.assertIsInstance(m_mock.__aenter__, AsyncMock)
547 self.assertIsInstance(m_mock.__aexit__, AsyncMock)
879 self.assertIsInstance(attr, _CallList)
880 self.assertIsInstance(attr, list)
1059 self.assertIsInstance(cm.exception.__cause__, TypeError)