def test_getPetById(self):
        req, _ = app.op['getPetById'](petId=100)
        req.prepare()

        self.assertEqual(req.url, 'http://petstore.swagger.wordnik.com/api/pet/100')
        self.assertEqual(req.path, '/api/pet/100')
        self.assertEqual(req.method, 'get')
        self.assertEqual(req.header, {'Accept': 'application/json'})
        self.assertEqual(req.data, None)
        self.assertEqual(req.query, [])
Walk the object tree, pretty-printing each branch.
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_io.py/SwaggerRequest_Pet_TestCase.test_getPetById--crossover with--dataset/ETHPy150Open munhitsu/django-dowser/django_dowser/reftree.py/Tree.print_tree