def test_get_trending(): assert get_trending() is not None
def test_bad_get_trending(): with pytest.raises(KeyError): assert get_trending("zimbabwe")