Browse Source

[test/helper] Improve output

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
3e6e4999ca
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      test/helper.py

+ 2
- 1
test/helper.py View File

@ -145,7 +145,8 @@ def expect_info_dict(self, expected_dict, got_dict):
info_dict_str = ''.join(
' %s: %s,\n' % (_repr(k), _repr(v))
for k, v in test_info_dict.items())
write_string('\n"info_dict": {\n' + info_dict_str + '}\n', out=sys.stderr)
write_string(
'\n\'info_dict\': {\n' + info_dict_str + '}\n', out=sys.stderr)
self.assertFalse(
missing_keys,
'Missing keys in test definition: %s' % (


Loading…
Cancel
Save