Skip to content

[Python] improve test and better wording for incorrect enum value#3309

Merged
wing328 merged 1 commit intoswagger-api:masterfrom
wing328:python_better_test
Jul 6, 2016
Merged

[Python] improve test and better wording for incorrect enum value#3309
wing328 merged 1 commit intoswagger-api:masterfrom
wing328:python_better_test

Conversation

@wing328
Copy link
Contributor

@wing328 wing328 commented Jul 6, 2016

  • commented out "find_pet_by_tags" test as the returned pet objects sometime contain invalid status ("find_pet_by_status" covers what already tested by "find_pet_by_tags")
  • better wording for incorrect enum value, e.g.
ValueError: Invalid value for `status` (new), must be one of ['available', 'pending', 'sold']

@wing328 wing328 added this to the v2.2.0 milestone Jul 6, 2016
@wing328 wing328 merged commit d213dcd into swagger-api:master Jul 6, 2016
@wing328 wing328 deleted the python_better_test branch July 6, 2016 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant