summaryrefslogtreecommitdiff
path: root/tests/local_onionshare_share_mode_unreadable_file_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/local_onionshare_share_mode_unreadable_file_test.py')
-rw-r--r--tests/local_onionshare_share_mode_unreadable_file_test.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/local_onionshare_share_mode_unreadable_file_test.py b/tests/local_onionshare_share_mode_unreadable_file_test.py
index 8b5dd4e7..80f0fdb8 100644
--- a/tests/local_onionshare_share_mode_unreadable_file_test.py
+++ b/tests/local_onionshare_share_mode_unreadable_file_test.py
@@ -4,11 +4,11 @@ import unittest
from .GuiShareTest import GuiShareTest
+
class LocalShareModeUnReadableFileTest(unittest.TestCase, GuiShareTest):
@classmethod
def setUpClass(cls):
- test_settings = {
- }
+ test_settings = {}
cls.gui = GuiShareTest.set_up(test_settings)
@classmethod
@@ -16,10 +16,11 @@ class LocalShareModeUnReadableFileTest(unittest.TestCase, GuiShareTest):
GuiShareTest.tear_down()
@pytest.mark.gui
- @pytest.mark.skipif(pytest.__version__ < '2.9', reason="requires newer pytest")
+ @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()
+
if __name__ == "__main__":
unittest.main()