mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-15 16:29:35 -05: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
|
|
@ -13,12 +13,8 @@ class ReceiveModeTest(unittest.TestCase, TorGuiReceiveTest):
|
|||
cls.gui = TorGuiReceiveTest.set_up(test_settings, 'ReceiveModeTest')
|
||||
|
||||
@pytest.mark.tor
|
||||
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')
|
||||
@pytest.mark.tor
|
||||
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