Lines Matching refs:set
23 a mock object, it is in record mode. You then programmatically set
28 Once you have set up the expected mock behavior, you put it in replay
377 self._known_methods = set()
378 self._known_vars = set()
393 call. The method name is checked against the set of mockable
431 key: Key to set the value for.
432 value: Value to set.
591 This can be an ordered method, or part of an unordered set.
757 the IN clause contains the proper primary keys, so you can set your mock
1204 """UnorderedGroup holds a set of method calls that may occur in any order.
1226 If the method is not in the set, an UnexpectedMethodCallError will be
1239 # Check to see if this method exists, and if so, remove it from the set
1273 self._methods = set()
1274 self._methods_called = set()
1288 If the method is not in the set, an UnexpectedMethodCallError will be
1301 # Check to see if this method exists, and if so add it to the set of
1320 # NOTE(psycho): We can't use the simple set difference here because we want