From 0d7854fd7aaefd39c1a94625d4603fc7baaea990 Mon Sep 17 00:00:00 2001 From: Rodja Trappe Date: Thu, 2 Feb 2023 07:23:34 +0100 Subject: [PATCH] #287 better var name --- tests/test_binding.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_binding.py b/tests/test_binding.py index 627e593d2..d01bae821 100644 --- a/tests/test_binding.py +++ b/tests/test_binding.py @@ -67,7 +67,7 @@ def test_binding_to_input(screen: Screen): class Model: text = 'one' data = Model() - input = ui.input().bind_value(data, 'text') + element = ui.input().bind_value(data, 'text') screen.open('/') screen.should_contain('one') @@ -77,9 +77,9 @@ class Model: assert data.text == 'two' data.text = 'three' screen.should_contain('three') - input.set_value('four') + element.set_value('four') screen.should_contain('four') assert data.text == 'four' - input.value = 'five' + element.value = 'five' screen.should_contain('five') assert data.text == 'five'