def METHOD_NAME(self):
    view = View(Item("true_or_false", style='text'))
    obj = BoolModel()
    tester = UITester()
    with tester.create_ui(obj, dict(view=view)) as ui:
        self.assertEqual(obj.true_or_false, False)
        text_field = tester.find_by_name(ui, 'true_or_false')
        for _ in range(5):
            text_field.perform(KeyClick("Backspace"))
        text_field.perform(KeySequence("True"))
        text_field.perform(KeyClick("Enter"))
        self.assertEqual(obj.true_or_false, True)