Skip GUI and tor tests if pytest is older than 2.9, to allow tests to run in old ubuntu

This commit is contained in:
Micah Lee 2019-04-18 20:38:44 -07:00
parent 2627a37015
commit cd30db06eb
35 changed files with 35 additions and 0 deletions

View file

@ -18,6 +18,7 @@ class LocalReceiveModeTimerTest(unittest.TestCase, GuiReceiveTest):
GuiReceiveTest.tear_down()
@pytest.mark.gui
@pytest.mark.skipif(pytest.__version__ < '2.9', reason="requires newer pytest")
def test_gui(self):
self.run_all_common_setup_tests()
self.run_all_receive_mode_timer_tests(False)