Lines Matching refs:obj
112 self._commit(lambda obj: self._increment_count(obj))
115 def _increment_count(self, obj): argument
117 self._parent.captured.append(obj)
510 when(thing).test_request(lambda obj: obj == "B").always().increment_count()
536 when(thing).test_request(lambda obj: obj == "B").then(times=1).increment_count()
537 when(thing).test_request(lambda obj: obj == "C").always().increment_count()
564 thing.behaviors.test_request_behavior.set_default(lambda obj: thing.increment_unhandled())
574 is_a = lambda obj: obj == "A" argument
587 when(thing).test_request(lambda obj: obj == "A").then().increment_count()
593 wait_until(thing).test_request(lambda obj: obj == "A").times(1)
599 when(thing).test_request(lambda obj: obj == "A").then().increment_count()
612 when(thing).test_request(lambda obj: obj == "A").then().increment_count()
617 assertThat(wait_until(thing).test_request(lambda obj: obj == "A").times(1)).isFalse()
621 thing.behaviors.test_request_behavior.set_default(lambda obj: thing.increment_unhandled())
632 when(thing).test_request(lambda obj: obj == "A").then().increment_count().increment_count()
641 wait_until(thing).test_request(lambda obj: obj == "A").times(2)
670 assertThat(wait_until(thing).test_request(lambda obj: obj == "A").times(2)).isFalse()