Lines Matching refs:autospec
634 @patch('%s.SomeClass' % __name__, object(), autospec=True)
971 test = patch(foo_name, autospec=True)(function)
979 test = patch.object(module, 'Foo', autospec=True)(function)
988 @patch('%s.function' % __name__, autospec=True)
1008 @patch('%s.function' % __name__, autospec=True,
1019 patcher = patch('%s.function' % __name__, new=3, autospec=True)
1023 patcher = patch.object(module, 'function', new=3, autospec=True)
1031 patcher = patch(foo_name, autospec=Bar)
1042 patcher = patch(foo_name, autospec=True)
1052 patcher = patch(foo_name, autospec=True)
1167 autospec=True
1171 autospec=True
1645 with patch('unittest.test.testmock.support', autospec=True) as m:
1745 p = patch(MODNAME, autospec=0, **{kwarg: 0})
1761 p = patch(MODNAME, spec=False, spec_set=False, autospec=False)