Browse Source

Fix scraper tests for podcasts

Colin Powell 2 năm trước cách đây
mục cha
commit
04a48af4c9
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      tests/podcasts_tests/test_scrapers.py

+ 2 - 1
tests/podcasts_tests/test_scrapers.py

@@ -23,4 +23,5 @@ def test_get_not_allowed_from_mopidy():
     assert result_dict["title"] == query
     assert result_dict["description"] == expected_desc
     assert result_dict["image_url"] == expected_img_url
-    assert result_dict["publisher"] == "NPR"
+    assert result_dict["producer"] == "NPR"
+    assert result_dict["url"] == None