def test_tvdb_refresh_token__refresh_fail(): with pytest.raises(MnamerException): tvdb_refresh_token(JUNK_TEXT)
def test_tvdb_refresh_token__refresh_success(): token = tvdb_login(Tvdb.api_key) assert tvdb_refresh_token(token) is not None