def test_get_podcast_live_404(): with pytest.raises(hoerapi.ApiError): hoerapi.get_podcast_live('wr222int')
def test_get_podcast_live(): live = hoerapi.get_podcast_live('breitband', 3) assert len(live) == 3