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:
Miguel Jacq 2018-10-15 11:15:32 +11:00
parent 1a1d3d9c8a
commit 668aa66323
18 changed files with 17 additions and 95 deletions

View file

@ -17,12 +17,8 @@ class ShareModePersistentSlugTest(unittest.TestCase, TorGuiShareTest):
cls.gui = TorGuiShareTest.set_up(test_settings, 'ShareModePersistentSlugTest')
@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_share_mode_tests(self):
self.run_all_share_mode_persistent_tests(False, True)
if __name__ == "__main__":