summaryrefslogtreecommitdiff
path: root/src/leap/soledad/tests/test_encrypted.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-30 10:42:32 +0900
committerkali <kali@leap.se>2013-01-30 10:42:32 +0900
commitededacbc47861ef9804fe60545087e48e06bfc82 (patch)
treead5c17a4029f7aff2f7587242644d4c140562aed /src/leap/soledad/tests/test_encrypted.py
parent34abbe9a8b9f6ce7eff1d68d48f5be842868dff8 (diff)
parent8ddd01b8f5bcc14fb7a51bfb95d0eacc83db640e (diff)
Merge branch 'release-0.2.0' into release/v0.2.0
removing soledad + email from release branch created with git flow
Diffstat (limited to 'src/leap/soledad/tests/test_encrypted.py')
-rw-r--r--src/leap/soledad/tests/test_encrypted.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/leap/soledad/tests/test_encrypted.py b/src/leap/soledad/tests/test_encrypted.py
deleted file mode 100644
index 9fc81bc3..00000000
--- a/src/leap/soledad/tests/test_encrypted.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from leap.soledad.backends.leap_backend import LeapDocument
-from leap.soledad.tests import BaseSoledadTest
-
-
-class EncryptedSyncTestCase(BaseSoledadTest):
-
- def test_get_set_encrypted(self):
- doc1 = LeapDocument(soledad=self._soledad)
- doc1.content = {'key': 'val'}
- doc2 = LeapDocument(doc_id=doc1.doc_id,
- encrypted_json=doc1.get_encrypted_json(),
- soledad=self._soledad)
- res1 = doc1.get_json()
- res2 = doc2.get_json()
- self.assertEqual(res1, res2, 'incorrect document encryption')