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 ed1ada9c06
commit 3845c5b3cf
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
35 changed files with 35 additions and 0 deletions

View file

@ -16,6 +16,7 @@ class LocalShareModeUnReadableFileTest(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_unreadable_file_tests()