def test_default_value(self):
        req, _ = app.op['findPetsByStatus']()
        self.assertEqual(req._p['query'], [(u'status', 'available')])

        # when there is no defaultValue, we should not provide a 'None'
        req, _ = app.op['updatePetWithForm'](petId=1, name='Tom')
        self.assertEqual(req._p['formData'], [('name', 'Tom')])

        req, _ = app.op['updatePetWithForm'](petId=1)
        self.assertEqual(req._p['formData'], [])
make sure defaultValue works
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_io.py/SwaggerResponse_TestCase.test_default_value