Home | History | Annotate | Download | only in pymock

Lines Matching refs:new_callable

1118             spec_set, autospec, new_callable, kwargs
1120 if new_callable is not None:
1123 "Cannot use 'new' and 'new_callable' together"
1127 "Cannot use 'autospec' and 'new_callable' together"
1133 self.new_callable = new_callable
1147 self.autospec, self.new_callable, self.kwargs
1251 new_callable = self.new_callable
1294 if new_callable is not None:
1295 Klass = new_callable
1421 new_callable=None, **kwargs
1425 spec_set=None, autospec=None, new_callable=None, **kwargs)
1432 `autospec` and `new_callable` have the same meaning as for `patch`. Like
1442 spec_set, autospec, new_callable, kwargs
1447 autospec=None, new_callable=None, **kwargs):
1462 `autospec` and `new_callable` have the same meaning as for `patch`. These
1482 autospec, new_callable, {}
1488 autospec, new_callable, {}
1497 spec_set=None, autospec=None, new_callable=None, **kwargs
1523 `new_callable` allows you to specify a different class, or callable object,
1559 the `Mock` (or `new_callable`) on construction.
1567 spec_set, autospec, new_callable, kwargs