From 3cf6c48549ffb1c713a7b12bbd0cb0e16f49e5e9 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 10 Apr 2017 13:30:09 -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/tests') 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") -- cgit v1.2.3