def test_tion_api_need_new_auth(api: TionApi): api.authorization = "" assert api.get_data(force=True) is True, "New auth should've received!" sleep(TESTS_DELAY) # let the server "rest"
def test_tion_api_bad_auth_fname(api_bad_auth_fname: TionApi): assert api_bad_auth_fname.get_data( force=True) is True, "Should've get data!" sleep(TESTS_DELAY) # let the server "rest"