def test_authorization_code(self):
        grant = app.raw.authorizations['oauth2'].grantTypes
        self.assertTrue(isinstance(grant.authorization_code, AuthorizationCode))
authorization code
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_spec.py/PropertyTestCase.test_authorization_code