mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-17 05:42:15 -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
ed1ada9c06
commit
3845c5b3cf
35 changed files with 35 additions and 0 deletions
|
@ -20,6 +20,7 @@ class LocalShareModePersistentSlugTest(unittest.TestCase, GuiShareTest):
|
|||
GuiShareTest.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_share_mode_persistent_tests(False, True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue