From ecf568431319b4e81bc077141048d0b7f1e0964d Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 13 Feb 2013 12:45:53 -0200 Subject: Refactor and fix tests. --- tests/test_encrypted.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test_encrypted.py') 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, -- cgit v1.2.3