summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/tests/server/test_blobs_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/server/test_blobs_server.py b/testing/tests/server/test_blobs_server.py
index 910cd985..7aa41956 100644
--- a/testing/tests/server/test_blobs_server.py
+++ b/testing/tests/server/test_blobs_server.py
@@ -81,5 +81,5 @@ class BlobServerTestCase(unittest.TestCase):
yield manager.local.put(blob_id, BytesIO("X"), size=1)
yield manager.send_missing()
result = yield manager._download_and_decrypt(blob_id)
- assert result is not None
- assert result[0].getvalue() == "X"
+ self.assertIsNotNone(result)
+ self.assertEquals(result[0].getvalue(), "X")