def test_authorization_code(self):
        grant = app.raw.authorizations['oauth2'].grantTypes
        self.assertTrue(isinstance(grant.authorization_code, AuthorizationCode))
flattens a list of authors or editors and caps it a max number
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_spec.py/PropertyTestCase.test_authorization_code--crossover with--dataset/ETHPy150Open msprev/unite-bibtex/pythonx/core/formatter/util.py/flatten_list