refactor asserts

This commit is contained in:
2025-03-09 07:39:29 -05:00
parent 88b533c27b
commit 9fdf79842d
12 changed files with 84 additions and 64 deletions

View File

@@ -5,7 +5,7 @@ from src.models import KeypadSize
@pytest.fixture()
def user_interface():
return UserInterface.new(keypad_size=KeypadSize(attrs_per_key=7, numb_of_keys=10))
return UserInterface.create(keypad_size=KeypadSize(attrs_per_key=7, numb_of_keys=10))
def test_dispersion(user_interface):