From 2c9b0345932e25c112f57ac1d84d4a9552fcd83f Mon Sep 17 00:00:00 2001 From: Laura Liberda Date: Tue, 17 Nov 2020 16:56:26 +0100 Subject: [PATCH] [test] fix youtube format selection test it's up to the current standards now --- test/test_HaruhiDL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_HaruhiDL.py b/test/test_HaruhiDL.py index 29ddb4da4..b35b16b28 100644 --- a/test/test_HaruhiDL.py +++ b/test/test_HaruhiDL.py @@ -311,7 +311,7 @@ class TestFormatSelection(unittest.TestCase): def test_youtube_format_selection(self): order = [ - '38', '37', '46', '22', '45', '35', '44', '18', '34', '43', '6', '5', '17', '36', '13', + '18', # Apple HTTP Live Streaming '96', '95', '94', '93', '92', '132', '151', # 3D @@ -356,7 +356,7 @@ class TestFormatSelection(unittest.TestCase): yie._sort_formats(info_dict['formats']) hdl.process_ie_result(info_dict) downloaded = hdl.downloaded_info_dicts[0] - self.assertEqual(downloaded['format_id'], '38') + self.assertEqual(downloaded['format_id'], '18') info_dict = _make_result(list(formats_order), extractor='youtube') hdl = HDL({'format': 'bestvideo/best,bestaudio'})