diff options
author | Miguel Jacq <mig@mig5.net> | 2021-08-27 16:43:00 +1000 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2021-08-27 16:43:00 +1000 |
commit | 60d3564a9bbc0ca9fe78265acdbf7f1bc975ae1a (patch) | |
tree | 561d4b80dd78b36d24f78cc0bc7dbd113f510acf | |
parent | 84b5f98612b4d3e20f11ab42b388aa19d064a893 (diff) | |
download | onionshare-60d3564a9bbc0ca9fe78265acdbf7f1bc975ae1a.tar.gz onionshare-60d3564a9bbc0ca9fe78265acdbf7f1bc975ae1a.zip |
remove more public_mode stuff in receive mode test
-rw-r--r-- | desktop/tests/test_gui_receive.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop/tests/test_gui_receive.py b/desktop/tests/test_gui_receive.py index 9ce7b63c..af04a914 100644 --- a/desktop/tests/test_gui_receive.py +++ b/desktop/tests/test_gui_receive.py @@ -98,12 +98,6 @@ class TestReceive(GuiBaseTest): self.assertTrue(exists) - def try_without_auth_in_non_public_mode(self, tab): - r = requests.post(f"http://127.0.0.1:{tab.app.port}/upload") - self.assertEqual(r.status_code, 401) - r = requests.get(f"http://127.0.0.1:{tab.app.port}/close") - self.assertEqual(r.status_code, 401) - # 'Grouped' tests follow from here def run_all_receive_mode_setup_tests(self, tab): @@ -123,8 +117,6 @@ class TestReceive(GuiBaseTest): def run_all_receive_mode_tests(self, tab): """Submit files and messages in receive mode and stop the share""" self.run_all_receive_mode_setup_tests(tab) - if not tab.settings.get("general", "public"): - self.try_without_auth_in_non_public_mode(tab) self.upload_file(tab, self.tmpfile_test, "test.txt") self.history_widgets_present(tab) self.counter_incremented(tab, 1) |