Lines Matching refs:Mock
15 m = mock.Mock()
17 self.assertIsInstance(m.test, mock.Mock)
18 self.assertIsInstance(m.test(), mock.Mock)
19 self.assertIsInstance(m.test().test2(), mock.Mock)
22 m = mock.Mock()
31 m = mock.Mock()
38 m = mock.Mock()
46 m = mock.Mock()
54 m = mock.Mock()
62 m = mock.Mock(test_value=1)
68 m = mock.Mock()
75 m = mock.Mock(return_value=5)
81 m = mock.Mock()
107 m = mock.Mock(name="root_mock")
109 m.test1.test2 = mock.Mock(name="not_sealed")
119 m = mock.Mock(SampleObject)
132 m = mock.Mock(SampleObject)
143 m = mock.Mock(SampleObject)
149 m = mock.Mock()
157 m = mock.Mock(name="mock_name")
166 m = mock.Mock()