summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2016-05-01 18:02:03 -0300
committerdrebs <drebs@riseup.net>2016-05-01 21:50:15 -0300
commita4b80ff24950b927fa30baa9996609ee13e47c83 (patch)
treeae660a49d279c98b996c2fc7bcc3e5adee99bb60
parent9051ed41e24e98f644b139bff6afc76c184731f0 (diff)
change standard info for auth
-rw-r--r--soledad_sync.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/soledad_sync.py b/soledad_sync.py
index 154ecfd..deadc56 100644
--- a/soledad_sync.py
+++ b/soledad_sync.py
@@ -3,11 +3,10 @@ from leap.soledad.client.api import Soledad
from twisted.internet import defer
# EDIT THIS TO MATCH YOUR TEST ENVIRONMENT -------------
-UUID = 'deadbeef10'
-# HOST = 'http://futeisha:2323'
-HOST = 'http://localhost:2323'
-# NUM_DOCS = 100
-NUM_DOCS = 50
+UUID = '1234567890abcdef'
+#HOST = 'http://futeisha:2323'
+HOST = 'http://localhost:2424'
+NUM_DOCS = 100
PAYLOAD = '/tmp/payload'
# ------------------------------------------------------
@@ -47,7 +46,7 @@ def upload_soledad_stuff():
t.install()
s = _get_soledad_instance_from_uuid(
- UUID, 'pass', '/tmp/soledadsync', HOST, '', '')
+ UUID, 'pass', '/tmp/soledadsync', HOST, '', 'an-auth-token')
def do_sync(_):
d = s.sync()