From c37201fa030bc5ebbb134ad303301b2a8bb01676 Mon Sep 17 00:00:00 2001 From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com> Date: Tue, 17 Nov 2020 01:10:54 +0900 Subject: [PATCH] Remove tests --- tests/test_default_processor.py | 18 ------------------ 1 file changed, 18 deletions(-) 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()