get_episode: support progress percentage

This commit is contained in:
sigma67 2024-03-01 20:41:19 +01:00 • committed by sigma67
commit 0734595395
2 changed files with 5 additions and 1 deletions

View file

@ -18,7 +18,7 @@ class TestPodcasts:
def test_get_episode(self, config, yt, yt_brand):
episode_id = config["podcasts"]["episode_id"]
result = yt.get_episode(episode_id)
assert len(result["description"]) == 50
assert len(result["description"]) >= 20
assert not result["saved"]
assert result["playlistId"] is not None