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