From 30f53267df253180598b38cf9af861e1f0adec0e Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 10 May 2021 11:42:13 +1000 Subject: [PATCH] Fix receive mode test --- desktop/tests/test_gui_receive.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desktop/tests/test_gui_receive.py b/desktop/tests/test_gui_receive.py index 40bebc12..b523b0fa 100644 --- a/desktop/tests/test_gui_receive.py +++ b/desktop/tests/test_gui_receive.py @@ -297,8 +297,11 @@ class TestReceive(GuiBaseTest): self.run_all_common_setup_tests() self.run_all_receive_mode_setup_tests(tab) - self.run_all_receive_mode_tests(tab) + self.upload_file(tab, self.tmpfile_test, "test.txt") url = f"http://127.0.0.1:{tab.app.port}/" self.hit_405(url, expected_resp="OnionShare: 405 Method Not Allowed", data = {'foo':'bar'}, methods = ["put", "post", "delete", "options"]) + self.server_is_stopped(tab) + self.web_server_is_stopped(tab) + self.server_status_indicator_says_closed(tab) self.close_all_tabs()