Skip to content

Commit

Permalink
TST: window test
Browse files Browse the repository at this point in the history
  • Loading branch information
jotelha committed Aug 14, 2023
1 parent 6a19460 commit d45eec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from dtool_lookup_gui.views.about_dialog import AboutDialog
from dtool_lookup_gui.views.settings_dialog import SettingsDialog
from dtool_lookup_gui.views.log_window import LogWindow
from dtool_lookup_gui.views.login_window import LoginWindow
from dtool_lookup_gui.views.main_window import MainWindow

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -34,7 +35,7 @@ async def test_app_id(app):
@pytest.mark.asyncio
async def test_app_window_types(app):
window_types = [type(win) for win in app.get_windows()]
assert set(window_types) == set([AboutDialog, SettingsDialog, LogWindow, MainWindow])
assert set(window_types) == set([AboutDialog, SettingsDialog, LogWindow, LoginWindow, MainWindow])


@pytest.mark.asyncio
Expand Down

0 comments on commit d45eec1

Please sign in to comment.