def test_resource_pet(self):
        pet = app.raw.apis['pet']
        self.assertTrue(isinstance(pet, Resource))
        self.assertEqual(pet.swaggerVersion, '1.2')
        self.assertEqual(pet.apiVersion, '1.0.0')
        self.assertEqual(pet.basePath, 'http://petstore.swagger.wordnik.com/api')
        self.assertEqual(pet.resourcePath, '/pet')
        self.assertTrue('application/json' in pet.produces)
        self.assertTrue('application/xml' in pet.produces)
        self.assertTrue('text/plain' in pet.produces)
        self.assertTrue('text/html' in pet.produces)
resource
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_spec.py/PropertyTestCase.test_resource_pet