def setUp(self): self.validator = TimeoutValidator() self.validator._set_window_value = self._catch_value self._value = ""