- for (info_field, value) in tc.get('info_dict', {}).items():
- if isinstance(value, compat_str) and value.startswith('md5:'):
- self.assertEqual(value, 'md5:' + md5(info_dict.get(info_field)))
+ for (info_field, expected) in tc.get('info_dict', {}).items():
+ if isinstance(expected, compat_str) and expected.startswith('md5:'):
+ self.assertEqual(expected, 'md5:' + md5(info_dict.get(info_field)))