Skip to content

Commit

Permalink
fix gui test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmichela committed Jan 22, 2025
1 parent 3c83031 commit de9f681
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,12 @@ def apply_tag_filter(tags):
def test_filter_proxy(mock_db_with_data_2, qtbot):
db_dir, db = mock_db_with_data_2

# Create main window
win = MainWindow(db_dir, False)
qtbot.addWidget(win)

table_view = win.table_view

proxy_model = table_view.model()
source_model = win.table
initial_rows = proxy_model.rowCount()
Expand Down

0 comments on commit de9f681

Please sign in to comment.