Lines Matching refs:Mock
20 m = mock.Mock()
22 self.assertIsInstance(m.test, mock.Mock)
23 self.assertIsInstance(m.test(), mock.Mock)
24 self.assertIsInstance(m.test().test2(), mock.Mock)
27 m = mock.Mock()
36 m = mock.Mock()
43 m = mock.Mock()
51 m = mock.Mock()
59 m = mock.Mock()
67 m = mock.Mock(test_value=1)
73 m = mock.Mock()
80 m = mock.Mock(return_value=5)
86 m = mock.Mock()
112 m = mock.Mock(name="root_mock")
114 m.test1.test2 = mock.Mock(name="not_sealed")
124 m = mock.Mock(SampleObject)
137 m = mock.Mock(SampleObject)
148 m = mock.Mock(SampleObject)
154 m = mock.Mock()
162 m = mock.Mock(name="mock_name")
171 m = mock.Mock()