Lines Matching refs:obj
109 self._commit(lambda obj: self._increment_count(obj))
112 def _increment_count(self, obj): argument
114 self._parent.captured.append(obj)
432 when(thing).test_request(lambda obj: obj == "B").always().increment_count()
460 when(thing).test_request(lambda obj: obj == "B").then(times=1).increment_count()
461 when(thing).test_request(lambda obj: obj == "C").always().increment_count()
490 thing.behaviors.test_request_behavior.set_default(lambda obj: thing.increment_unhandled())
501 is_a = lambda obj: obj == "A" argument
515 when(thing).test_request(lambda obj: obj == "A").then().increment_count()
521 wait_until(thing).test_request(lambda obj: obj == "A").times(1)
528 when(thing).test_request(lambda obj: obj == "A").then().increment_count()
542 when(thing).test_request(lambda obj: obj == "A").then().increment_count()
547 assertThat(wait_until(thing).test_request(lambda obj: obj == "A").times(1)).isFalse()
552 thing.behaviors.test_request_behavior.set_default(lambda obj: thing.increment_unhandled())
564 when(thing).test_request(lambda obj: obj == "A").then().increment_count().increment_count()
573 wait_until(thing).test_request(lambda obj: obj == "A").times(2)
604 assertThat(wait_until(thing).test_request(lambda obj: obj == "A").times(2)).isFalse()