[viddler] Use API

This commit is contained in:
Philipp Hagemeister 2014-10-25 00:10:11 +02:00
parent cdc5cb7c2b
commit c64ed2a310
3 changed files with 71 additions and 36 deletions

View file

@ -145,7 +145,7 @@ 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": {' + 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' % (