Skip to content

[BUG] Python-Client Tests, 13 tests fail #1747

Description

@spacether
Description

When running the client tests for the sample petstore python client, 13 of the tests fail on the master branch.

openapi-generator version

4.0.0-SNAPSHOT

OpenAPI declaration file content or url

petstore sample used by the client tests in the openapi-generator repo

Command line used for generation

mvn integration-test

Steps to reproduce
  1. cd to samples/client/petstore/python
    2 run mvn integration-test

Note: regenerating the python client library by running ./bin/python-petstore.sh does not fix these tests.

The below tests fail:

test_update_pet (tests.test_pet_api.PetApiTests) ... ERROR
test_async_with_http_info (tests.test_pet_api.PetApiTests) ... ERROR
test_delete_pet (tests.test_pet_api.PetApiTests) ... ERROR
test_upload_file (tests.test_pet_api.PetApiTests) ... ERROR
test_separate_default_config_instances (tests.test_pet_api.PetApiTests) ... ok
test_async_request (tests.test_pet_api.PetApiTests) ... ERROR
test_find_pets_by_status (tests.test_pet_api.PetApiTests) ... ERROR
test_separate_default_client_instances (tests.test_pet_api.PetApiTests) ... ok
test_update_pet_with_form (tests.test_pet_api.PetApiTests) ... ERROR
test_find_pets_by_tags (tests.test_pet_api.PetApiTests) ... ERROR
test_async_with_result (tests.test_pet_api.PetApiTests) ... ERROR
test_add_pet_and_get_pet_by_id_with_http_info (tests.test_pet_api.PetApiTests) ... ERROR
test_add_pet_and_get_pet_by_id (tests.test_pet_api.PetApiTests) ... ERROR
test_timeout (tests.test_pet_api.PetApiTests) ... ok
test_async_exception (tests.test_pet_api.PetApiTests) ... ERROR
test_preload_content_flag (tests.test_pet_api.PetApiTests) ... ERROR
Related issues/PRs
Suggest a fix

Please edit the tests/feature code so that the tests pass.
Do the tests pass in another branch?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions