write a test case for swagger.deserialize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
High
|
Madhuri Kumari |
Bug Description
The test cases for swagger.deserialize should deserialize all of the expected V1beta3 JSON blobs. It is important that the correct JSON data is passed into the deserialize function. Contact madhuri on IRC to determine how to gather the JSON blob information. It is important that the resulting deserialized object is verified to match the JSON blob contents for each member of the object.
The goal of these test cases is to verify deserialize and the models work for the following objects and their child objects:
json_WatchEvent
V1beta3_ServiceList
V1beta3_SecretList
V1beta3_
V1beta3_
V1beta3_PodList
V1beta3_
V1beta3_
V1beta3_
V1beta3_Node
V1beta3_NodeList
V1beta3_Namespace
V1beta3_Service
V1beta3_ServiceList
V1beta3_Secret
V1beta3_SecretList
V1beta3_
V1beta3_
V1beta3_
V1beta3_
V1beta3_
V1beta3_Pod
V1beta3_PodList
V1beta3_
V1beta3_
V1beta3_LimitRange
V1beta3_
V1beta3_Event
V1beta3_EventList
V1beta3_Endpoints
V1beta3_
V1beta3_
V1beta3_
V1beta3_EventList
V1beta3_
Each of these objects should be a separate test case. This would dramatically improve coverage and ensure when we do swagger codegen updates of our library we get expected results. This will be helpful for TLS support as well.
Changed in magnum: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in magnum: | |
assignee: | nobody → Madhuri Kumari (madhuri-rai07) |
Changed in magnum: | |
status: | In Progress → Fix Committed |
Changed in magnum: | |
milestone: | none → mitaka-2 |
status: | Fix Committed → Fix Released |
Changed in magnum: | |
milestone: | mitaka-2 → mitaka-1 |
Fix proposed to branch: master /review. openstack. org/189637
Review: https:/