diff options
Diffstat (limited to 'tests/local_onionshare_share_mode_download_stay_open_test.py')
-rw-r--r-- | tests/local_onionshare_share_mode_download_stay_open_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/local_onionshare_share_mode_download_stay_open_test.py b/tests/local_onionshare_share_mode_download_stay_open_test.py index 50d82326..04213865 100644 --- a/tests/local_onionshare_share_mode_download_stay_open_test.py +++ b/tests/local_onionshare_share_mode_download_stay_open_test.py @@ -4,12 +4,11 @@ import unittest from .GuiShareTest import GuiShareTest + class LocalShareModeStayOpenTest(unittest.TestCase, GuiShareTest): @classmethod def setUpClass(cls): - test_settings = { - "close_after_first_download": False, - } + test_settings = {"close_after_first_download": False} cls.gui = GuiShareTest.set_up(test_settings) @classmethod @@ -17,10 +16,11 @@ class LocalShareModeStayOpenTest(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_tests(False, True) + if __name__ == "__main__": unittest.main() |