Fix stay_open regression bug. Before, it was closing automatically even when the setting wasn't set. Also, remove the --stay-open option from the GUI, since GUI settings are set in the settings dialog not cli args

This commit is contained in:
Micah Lee 2018-05-04 16:35:32 -07:00
parent bc5f299ecd
commit 87e8652c18
6 changed files with 8 additions and 17 deletions

View file

@ -49,7 +49,6 @@ class TestOnionShare:
assert onionshare_obj.stealth is None
assert onionshare_obj.cleanup_filenames == []
assert onionshare_obj.local_only is False
assert onionshare_obj.stay_open is False
def test_set_stealth_true(self, onionshare_obj):
onionshare_obj.set_stealth(True)