mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-17 22:00:38 -04:00
Reset the ToggleHistory indicator count/label when a share starts. Add a test for this
This commit is contained in:
parent
f118ebcb09
commit
09f2f57298
5 changed files with 10 additions and 0 deletions
|
@ -170,6 +170,9 @@ class GuiBaseTest(object):
|
|||
QtTest.QTest.mouseClick(mode.server_status.server_button, QtCore.Qt.LeftButton)
|
||||
self.assertEqual(mode.server_status.status, 1)
|
||||
|
||||
def toggle_indicator_is_reset(self, mode):
|
||||
self.assertEqual(mode.toggle_history.indicator_count, 0)
|
||||
self.assertFalse(mode.toggle_history.indicator_label.isVisible())
|
||||
|
||||
def server_status_indicator_says_starting(self, mode):
|
||||
'''Test that the Server Status indicator shows we are Starting'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue