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 cf06631b..b86e12db 100644
--- a/testing/tests/server/test_blobs_server.py
+++ b/testing/tests/server/test_blobs_server.py
@@ -94,5 +94,5 @@ class BlobServerTestCase(unittest.TestCase):
yield manager._encrypt_and_upload(blob_id, BytesIO("X"))
yield manager.fetch_missing()
result = yield manager.local.get(blob_id)
- assert result is not None
- assert result.getvalue() == "X"
+ self.assertIsNotNone(result)
+ self.assertEquals(result.getvalue(), "X")