aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2019-11-11 17:47:03 +1100
committerMiguel Jacq <mig@mig5.net>2019-11-11 17:47:03 +1100
commita51fd596fe09dc8f2a3376eb958d8772058555ad (patch)
tree064fc930a45b3868086151ee975afc0e0751503c /tests
parent28bc37d16fac74fa3b226d1b9456372b003c7ade (diff)
downloadonionshare-a51fd596fe09dc8f2a3376eb958d8772058555ad.tar.gz
onionshare-a51fd596fe09dc8f2a3376eb958d8772058555ad.zip
Fix TypeError: start_onion_service() takes from 1 to 3 positional arguments but 4 were given
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 0addf6d5..3c85e60d 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -33,7 +33,7 @@ class MyOnion:
self.scheduled_key = None
@staticmethod
- def start_onion_service(self, await_publication=True, save_scheduled_key=False):
+ def start_onion_service(self, mode_settings_obj, await_publication=True, save_scheduled_key=False):
return "test_service_id.onion"