aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-01-24 01:21:39 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-01-24 03:24:23 +0530
commit88f23a18e0a0f5f18ed167b6a319c54255c5dd13 (patch)
treec2f10fb8ae0e07e88c84b93b555dbfc8cc2cbc61 /test/helper.py
parentbb66c24797edd8740a27efb8d77669dbb0e859b7 (diff)
downloadhypervideo-pre-88f23a18e0a0f5f18ed167b6a319c54255c5dd13.tar.lz
hypervideo-pre-88f23a18e0a0f5f18ed167b6a319c54255c5dd13.tar.xz
hypervideo-pre-88f23a18e0a0f5f18ed167b6a319c54255c5dd13.zip
[docs,cleanup] Fix linter and misc cleanup
Closes #2419
Diffstat (limited to 'test/helper.py')
-rw-r--r--test/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.py b/test/helper.py
index ce751462e..1070e0668 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -220,7 +220,7 @@ def sanitize_got_info_dict(got_dict):
IGNORED_PREFIXES = ('', 'playlist', 'requested', 'webpage')
def sanitize(key, value):
- if isinstance(value, str) and len(value) > 100:
+ if isinstance(value, str) and len(value) > 100 and key != 'thumbnail':
return f'md5:{md5(value)}'
elif isinstance(value, list) and len(value) > 10:
return f'count:{len(value)}'