Skip to content

Commit

Permalink
Update test strings
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob committed Sep 18, 2024
1 parent 02eb46d commit e34cb59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _make_setup_wizard(institutions: list[str]):


class TestSetupWizard:
intro = 'You are a few steps away from syncing your Blackboard content straight to your device!'
intro = 'You are a few steps away from syncing your Blackboard Learn content straight to your device!'
uni_selection = 'First, tell us where you study'
location_selection = 'Where do you want files to be downloaded?'
page_number = 4
Expand Down Expand Up @@ -253,15 +253,15 @@ def test_settings_window_save_signal(self, qtbot, settings_window):

class TestSyncTrayIcon:
def test_tray_icon_initial_state(self, qtbot, tray_icon):
assert tray_icon._menu._status.text() == 'Not Logged In'
assert tray_icon._menu._status.text() == 'Not logged in'
assert not tray_icon._menu.refresh.isVisible()
assert not tray_icon._menu.preferences.isVisible()
assert tray_icon._menu._status.isVisible()
assert tray_icon._menu.quit.isVisible()

def test_tray_icon_logged_in_state(self, qtbot, tray_icon):
tray_icon.set_logged_in(True)
assert tray_icon._menu._status.text() != 'Not Logged In'
assert tray_icon._menu._status.text() != 'Not logged in'
assert tray_icon._menu.refresh.isVisible()
assert tray_icon._menu.refresh.isEnabled()
assert tray_icon._menu.preferences.isVisible()
Expand Down

0 comments on commit e34cb59

Please sign in to comment.