diff options
author | kali <kali@leap.se> | 2013-01-30 10:42:32 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-01-30 10:42:32 +0900 |
commit | ededacbc47861ef9804fe60545087e48e06bfc82 (patch) | |
tree | ad5c17a4029f7aff2f7587242644d4c140562aed /src/leap/soledad/tests/test_encrypted.py | |
parent | 34abbe9a8b9f6ce7eff1d68d48f5be842868dff8 (diff) | |
parent | 8ddd01b8f5bcc14fb7a51bfb95d0eacc83db640e (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.py | 15 |
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') |