summaryrefslogtreecommitdiff
path: root/tests/test_encrypted.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-13 12:45:53 -0200
committerdrebs <drebs@leap.se>2013-02-13 12:45:53 -0200
commitecf568431319b4e81bc077141048d0b7f1e0964d (patch)
treec3b2fe3e6aea128ec8fc2630547bfc5077d36d23 /tests/test_encrypted.py
parentb056db0ad84af10d3d6368ea3e93f23f0f3251a9 (diff)
Refactor and fix tests.
Diffstat (limited to 'tests/test_encrypted.py')
-rw-r--r--tests/test_encrypted.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_encrypted.py b/tests/test_encrypted.py
index 9fc81bc3..18894331 100644
--- a/tests/test_encrypted.py
+++ b/tests/test_encrypted.py
@@ -3,8 +3,14 @@ from leap.soledad.tests import BaseSoledadTest
class EncryptedSyncTestCase(BaseSoledadTest):
+ """
+ Tests that guarantee that data will always be encrypted when syncing.
+ """
def test_get_set_encrypted(self):
+ """
+ Test if document encryption is working.
+ """
doc1 = LeapDocument(soledad=self._soledad)
doc1.content = {'key': 'val'}
doc2 = LeapDocument(doc_id=doc1.doc_id,