Another attempt at changing pytest ordering so that pytest can run without shell script

This commit is contained in:
Miguel Jacq 2018-10-13 10:03:15 +11:00
parent 540806f0aa
commit 1043be4483
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6
19 changed files with 28 additions and 53 deletions

View file

@ -16,12 +16,11 @@ class LocalShareModePersistentSlugTest(unittest.TestCase, TorGuiShareTest):
}
cls.gui = TorGuiShareTest.set_up(test_settings, 'ShareModePersistentSlugTest')
@pytest.mark.run(order=1)
@pytest.mark.tor
def test_run_all_common_setup_tests(self):
self.run_all_common_setup_tests()
@pytest.mark.run(order=2)
@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)