diff options
author | Kali Kaneko <kali@leap.se> | 2013-11-15 23:24:20 -0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-11-15 23:24:20 -0200 |
commit | c0093f5899a61e7306f3c32a16998da28214eff8 (patch) | |
tree | 38da5ea1a501cc636536b04ce5452702018abfb3 /src/leap/mail/imap/tests/test_imap.py | |
parent | 68628096e812b894d5fac65da2d2866da2599849 (diff) | |
parent | 46ccf635c44aeffb75c95845b8b4cc9ce2b1c4a4 (diff) |
Merge tag '0.3.7' into debian-0.3.7
Tag leap.mail version 0.3.7
Diffstat (limited to 'src/leap/mail/imap/tests/test_imap.py')
-rw-r--r-- | src/leap/mail/imap/tests/test_imap.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/mail/imap/tests/test_imap.py b/src/leap/mail/imap/tests/test_imap.py index 3411795..ad11315 100644 --- a/src/leap/mail/imap/tests/test_imap.py +++ b/src/leap/mail/imap/tests/test_imap.py @@ -91,7 +91,7 @@ def initialize_soledad(email, gnupg_home, tempdir): """ uuid = "foobar-uuid" - passphrase = "verysecretpassphrase" + passphrase = u"verysecretpassphrase" secret_path = os.path.join(tempdir, "secret.gpg") local_db_path = os.path.join(tempdir, "soledad.u1db") server_url = "http://provider" @@ -101,6 +101,8 @@ def initialize_soledad(email, gnupg_home, tempdir): get_doc = Mock(return_value=None) put_doc = Mock() + lock = Mock(return_value=('atoken', 300)) + unlock = Mock(return_value=True) def __call__(self): return self |