Skip to content

Commit

Permalink
add missing enum_string_required in DeserializationTests
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed May 9, 2018
1 parent 0128418 commit 4b631a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/client/petstore/python/tests/test_deserialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def test_enum_test(self):
data = {
'enum_test': {
"enum_string": "UPPER",
"enum_string_required": "lower",
"enum_integer": 1,
"enum_number": 1.1,
"outerEnum": "placed"
Expand All @@ -38,6 +39,7 @@ def test_enum_test(self):
self.assertTrue(isinstance(deserialized['enum_test'], petstore_api.EnumTest))
self.assertEqual(deserialized['enum_test'],
petstore_api.EnumTest(enum_string="UPPER",
enum_string_required="lower",
enum_integer=1,
enum_number=1.1,
outer_enum=petstore_api.OuterEnum.PLACED))
Expand Down

0 comments on commit 4b631a2

Please sign in to comment.