From 032c7951143e6452aeda34863bb38fed7ad26d3e Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 11 Aug 2024 11:29:02 +0100 Subject: fix RadikoSiteTime test (forgot) changed func in eb94441420845970d48fe7b4e30cc5eed78ac95a , forgot to change the test also --- yt_dlp_plugins/extractor/radiko_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp_plugins') diff --git a/yt_dlp_plugins/extractor/radiko_time.py b/yt_dlp_plugins/extractor/radiko_time.py index 9e77008..4d51ce5 100755 --- a/yt_dlp_plugins/extractor/radiko_time.py +++ b/yt_dlp_plugins/extractor/radiko_time.py @@ -79,7 +79,7 @@ if __name__ == "__main__": # cursed (no seconds) - seems to do -1s assert RadikoSiteTime('202308240100').timestring() == "20230824005959" # broadcast day starts at 05:00, ends at 04:59 (29:59) - assert RadikoSiteTime('20230824030000').broadcast_day() == '20230823' + assert RadikoSiteTime('20230824030000').broadcast_day_string() == '20230823' assert RadikoSiteTime('20230824130000').broadcast_day_end() == datetime.datetime(2023, 8, 25, 5, 0, 0, tzinfo=JST) assert RadikoSiteTime('20230824030000').broadcast_day_end() == datetime.datetime(2023, 8, 24, 5, 0, 0, tzinfo=JST) # checking timezone -- cgit v1.2.3-70-g09d2