Add a few receive mode web tests, to test the receive_allow_receiver_shutdown and receive_public_mode settings

This commit is contained in:
Micah Lee 2018-04-29 18:19:00 -07:00
parent 7ec993d2e0
commit 86f1fb223e
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
3 changed files with 109 additions and 5 deletions

View file

@ -152,3 +152,9 @@ def time_strftime(monkeypatch):
@pytest.fixture
def common_obj():
return common.Common()
@pytest.fixture
def settings_obj(sys_onionshare_dev_mode, platform_linux):
_common = common.Common()
_common.version = 'DUMMY_VERSION_1.2.3'
return settings.Settings(_common)