From dc58e830860633501be431903a7dc87d44752527 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 13 Apr 2017 04:53:39 -0300 Subject: [test] change assert for self.assertX --- testing/tests/server/test_blobs_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing') 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") -- cgit v1.2.3