From 374560f0181423be530660fd4b2e1a685e6648f8 Mon Sep 17 00:00:00 2001 From: Tithen-Firion Date: Thu, 27 Apr 2017 11:04:21 +0200 Subject: [PATCH] [test_download] Fix order when testing file's md5 --- test/test_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_download.py b/test/test_download.py index 0e9f293b5d..209f5f6d67 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -225,7 +225,7 @@ def try_rm_tcs_files(tcs=None): format_bytes(got_fsize))) if 'md5' in tc: md5_for_file = _file_md5(tc_filename) - self.assertEqual(md5_for_file, tc['md5']) + self.assertEqual(tc['md5'], md5_for_file) # Finally, check test cases' data again but this time against # extracted data from info JSON file written during processing info_json_fn = os.path.splitext(tc_filename)[0] + '.info.json'