diff options
Diffstat (limited to 'testing/tests/blobs/test_blobs.py')
-rw-r--r-- | testing/tests/blobs/test_blobs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/blobs/test_blobs.py b/testing/tests/blobs/test_blobs.py index ecb180f1..8dd3abbe 100644 --- a/testing/tests/blobs/test_blobs.py +++ b/testing/tests/blobs/test_blobs.py @@ -47,7 +47,7 @@ class BlobTestCase(unittest.TestCase): buf = DecrypterBuffer(doc_id, rev, self.secret, tag) buf.write(encrypted) fd, size = buf.close() - assert fd.getvalue() == 'rosa de foc' + self.assertEquals(fd.getvalue(), 'rosa de foc') @defer.inlineCallbacks def test_blob_manager_encrypted_upload(self): @@ -59,7 +59,7 @@ class BlobTestCase(unittest.TestCase): armor=False, secret=self.secret) decrypted = yield decryptor.decrypt() - assert decrypted.getvalue() == 'up and up' + self.assertEquals(decrypted.getvalue(), 'up and up') defer.returnValue(Mock(code=200)) manager = BlobManager('', '', self.secret, self.secret, 'user') |