aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsepro <4618135+seproDev@users.noreply.github.com>2023-11-20 02:03:33 +0100
committerGitHub <noreply@github.com>2023-11-20 01:03:33 +0000
commit45d82be65f71bb05506bd55376c6fdb36bc54142 (patch)
treee239e38bc815961b7d6defcffcab00001acc804f /test
parent3237f8ba29fe13bf95ff42b1e48b5b5109715feb (diff)
[ie/nebula] Overhaul extractors (#8566)
Closes #4300, Closes #5814, Closes #7588, Closes #6334, Closes #6538 Authored by: elyse0, pukkandan, seproDev Co-authored-by: Elyse <26639800+elyse0@users.noreply.github.com> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/helper.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/helper.py b/test/helper.py
index 539b2f618..7503840be 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -214,8 +214,9 @@ def sanitize_got_info_dict(got_dict):
test_info_dict = {
key: sanitize(key, value) for key, value in got_dict.items()
- if value is not None and key not in IGNORED_FIELDS and not any(
- key.startswith(f'{prefix}_') for prefix in IGNORED_PREFIXES)
+ if value is not None and key not in IGNORED_FIELDS and (
+ not any(key.startswith(f'{prefix}_') for prefix in IGNORED_PREFIXES)
+ or key == '_old_archive_ids')
}
# display_id may be generated from id