summaryrefslogtreecommitdiff
path: root/src/leap/soledad/tests/test_crypto.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-05-15 19:53:53 -0300
committerdrebs <drebs@leap.se>2013-05-15 19:53:53 -0300
commit7e6f458af4c7b51f414d6303942fec10dd56d2d3 (patch)
treed29bbbbe4d65db25f69f71a550097b5037d938db /src/leap/soledad/tests/test_crypto.py
parenta1df8fe814d9733cfc4aea635864fc9fe7383962 (diff)
Fix pep8 style.
Diffstat (limited to 'src/leap/soledad/tests/test_crypto.py')
-rw-r--r--src/leap/soledad/tests/test_crypto.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/tests/test_crypto.py b/src/leap/soledad/tests/test_crypto.py
index 6804723a..9a219bd0 100644
--- a/src/leap/soledad/tests/test_crypto.py
+++ b/src/leap/soledad/tests/test_crypto.py
@@ -75,7 +75,8 @@ class EncryptedSyncTestCase(BaseSoledadTest):
# encrypt doc
doc1.set_json(encrypt_doc(self._soledad._crypto, doc1))
# assert content is different and includes keys
- self.assertNotEqual(simpledoc, doc1.content,
+ self.assertNotEqual(
+ simpledoc, doc1.content,
'incorrect document encryption')
self.assertTrue(ENC_JSON_KEY in doc1.content)
self.assertTrue(ENC_SCHEME_KEY in doc1.content)
@@ -84,7 +85,6 @@ class EncryptedSyncTestCase(BaseSoledadTest):
self.assertEqual(
simpledoc, doc1.content, 'incorrect document encryption')
-
def test_encrypt_sym(self):
"""
Test for successful symmetric encryption.