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

@ -13,11 +13,10 @@ class LocalShareModeTimerTest(unittest.TestCase, GuiShareTest):
}
cls.gui = GuiShareTest.set_up(test_settings, 'LocalShareModeTimerTest')
@pytest.mark.run(order=1)
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')
def test_run_all_share_mode_timer_tests(self):
self.run_all_share_mode_timer_tests(False)