summaryrefslogtreecommitdiff
path: root/src/leap/soledad/tests/test_encrypted.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-30 06:47:21 +0900
committerkali <kali@leap.se>2013-01-30 06:47:21 +0900
commitc06c3f8ab6a83ed469cfad886806436808ace8ab (patch)
tree1a48d188d1aedbd77da3c143774a12a54458d297 /src/leap/soledad/tests/test_encrypted.py
parentb3f30d14d8a8e728d904b78e9235d63d25e475d1 (diff)
remove email and soledad components from tree
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')