summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2019-02-22 16:53:51 +1100
committerMiguel Jacq <mig@mig5.net>2019-02-22 16:53:51 +1100
commitdf657d8776e9cec87d1b863e1bcb2ac8076b405d (patch)
treef62e18b50789ca211bed090b58af3958e4816e0c /tests
parentb21fa1fb3b56949f37b9fe738d3f5d569f41f462 (diff)
downloadonionshare-df657d8776e9cec87d1b863e1bcb2ac8076b405d.tar.gz
onionshare-df657d8776e9cec87d1b863e1bcb2ac8076b405d.zip
remove actual sender_closed test function
Diffstat (limited to 'tests')
-rw-r--r--tests/GuiReceiveTest.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/GuiReceiveTest.py b/tests/GuiReceiveTest.py
index 8a03283e..fd0c9810 100644
--- a/tests/GuiReceiveTest.py
+++ b/tests/GuiReceiveTest.py
@@ -74,18 +74,6 @@ class GuiReceiveTest(GuiBaseTest):
self.assertEqual(mode.history.completed_count, before_completed_count)
self.assertEqual(len(mode.history.item_list.items), before_number_of_history_items)
- def run_receive_mode_sender_closed_tests(self, public_mode):
- '''Test that the share can be stopped by the sender in receive mode'''
- if not public_mode:
- path = 'http://127.0.0.1:{}/{}/close'.format(self.gui.app.port, self.gui.receive_mode.web.slug)
- else:
- path = 'http://127.0.0.1:{}/close'.format(self.gui.app.port)
- response = requests.post(path)
- self.server_is_stopped(self.gui.receive_mode, False)
- self.web_server_is_stopped()
- self.server_status_indicator_says_closed(self.gui.receive_mode, False)
-
-
# 'Grouped' tests follow from here
def run_all_receive_mode_setup_tests(self, public_mode):