mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-23 16:41:23 -04:00
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:
parent
2627a37015
commit
cd30db06eb
35 changed files with 35 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue