def test_client_can_get_user_information(requests_mock): mock_user_info(requests_mock) client = Client("v2_api_key") user = client.user_information() assert isinstance(user, UserInformation)
def test_real_connection_to_wanikani_user_information(): client = Client(api_key) user = client.user_information() assert isinstance(user, UserInformation)