diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-04-10 13:30:09 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-04-19 11:37:05 +0200 |
commit | 3cf6c48549ffb1c713a7b12bbd0cb0e16f49e5e9 (patch) | |
tree | d977b8c509ede8bf23890964f474c677664af1a4 /testing/tests | |
parent | 3b13b38ab85ad0d6031dccc41a7bb9795e1a0bc6 (diff) |
[test] change assert for self.assertX
Diffstat (limited to 'testing/tests')
-rw-r--r-- | testing/tests/server/test_blobs_server.py | 4 |
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") |