summaryrefslogtreecommitdiff
path: root/testing/tests
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-04-13 04:53:39 -0300
committerdrebs <drebs@leap.se>2017-04-19 11:37:07 +0200
commitdc58e830860633501be431903a7dc87d44752527 (patch)
tree84d73b34786a282ed8ac8aeb6c54b84e60379229 /testing/tests
parentd010d6d51635be01619d129faa26cd6e0ec36687 (diff)
[test] change assert for self.assertX
Diffstat (limited to 'testing/tests')
-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")