refactor asserts
This commit is contained in:
@@ -8,7 +8,7 @@ from src.models import KeypadSize
|
||||
[KeypadSize(numb_of_keys=10, attrs_per_key=11)]
|
||||
)
|
||||
def test_attr_set_idx(keypad_size):
|
||||
user_interface = UserInterface.new(keypad_size)
|
||||
user_interface = UserInterface.create(keypad_size)
|
||||
for attr_idx in range(keypad_size.numb_of_attrs):
|
||||
user_interface_idx = user_interface.interface[attr_idx]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user