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 46bec2f261
commit ed224f0388
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6
18 changed files with 17 additions and 95 deletions

View file

@ -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__":