diff --git a/tests/test_default_processor.py b/tests/test_default_processor.py index 8d19b27..c0fc5b9 100644 --- a/tests/test_default_processor.py +++ b/tests/test_default_processor.py @@ -222,24 +222,6 @@ def test_sponsor_legacy(mocker): assert ret.author.isChatModerator is False -def test_jsonify_list(mocker): - '''lagacy sponsor(membership)''' - processor = DefaultProcessor() - parser = Parser(is_replay=False) - _json = _open_file("tests/testdata/default/superchat.json") - - _, chatdata = parser.parse(parser.get_contents(json.loads(_json))) - data = { - "video_id": "", - "timeout": 7, - "chatdata": chatdata - } - - ret = processor.process([data]).json() - tobe = _open_file("tests/testdata/default/jsonified_list.json") - assert ret == tobe - - def _open_file(path): with open(path, mode='r', encoding='utf-8') as f: return f.read()