From fd7a771f66ff8d887be25ed5790f55bf6f401c43 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 22 Feb 2018 11:29:41 -0500 Subject: [PATCH] add sanity check to CreateEncryptedFileTest --- lbrynet/tests/unit/lbryfilemanager/test_EncryptedFileCreator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lbrynet/tests/unit/lbryfilemanager/test_EncryptedFileCreator.py b/lbrynet/tests/unit/lbryfilemanager/test_EncryptedFileCreator.py index 0fc769121..46ef3b721 100644 --- a/lbrynet/tests/unit/lbryfilemanager/test_EncryptedFileCreator.py +++ b/lbrynet/tests/unit/lbryfilemanager/test_EncryptedFileCreator.py @@ -74,6 +74,7 @@ class CreateEncryptedFileTest(unittest.TestCase): # this comes from the database, the blobs returned are sorted sd_info = yield get_sd_info(self.session.storage, lbry_file.stream_hash, include_blobs=True) self.assertDictEqual(sd_info, sd_file_info) + self.assertListEqual(sd_info['blobs'], sd_file_info['blobs']) self.assertEqual(sd_info['stream_hash'], expected_stream_hash) self.assertEqual(len(sd_info['blobs']), 3) self.assertNotEqual(sd_info['blobs'][0]['length'], 0)