Skip to content

Commit

Permalink
better flow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhroom committed Aug 28, 2024
1 parent 0a896fd commit b9a6ab7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def __init__(self):
self.presenter.model.controls = Controls()


view = MockWindowView()


@pytest.fixture
def controls_widget() -> ControlsWidget:
def _widget():
Expand All @@ -29,9 +32,6 @@ def _widget():
return _widget


view = MockWindowView()


class MockControls(BaseModel, validate_assignment=True):
"""A mock Pydantic model with validation."""

Expand Down

0 comments on commit b9a6ab7

Please sign in to comment.