mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-10 15:20:38 -04:00
Move GUI tests into a single function each, which solves ordering bugs, and also means we don't need to depend on pytest-ordering
This commit is contained in:
parent
46bec2f261
commit
ed224f0388
18 changed files with 17 additions and 95 deletions
|
@ -12,11 +12,8 @@ class LocalReceiveModeTest(unittest.TestCase, GuiReceiveTest):
|
|||
}
|
||||
cls.gui = GuiReceiveTest.set_up(test_settings, 'LocalReceiveModeTest')
|
||||
|
||||
def test_run_all_common_setup_tests(self):
|
||||
def test_gui(self):
|
||||
self.run_all_common_setup_tests()
|
||||
|
||||
@pytest.mark.run(after='test_run_all_common_setup_tests')
|
||||
def test_run_all_receive_mode_tests(self):
|
||||
self.run_all_receive_mode_tests(False, True)
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue