def test_login_endpoint(self):
        implicit = app.raw.authorizations['oauth2'].grantTypes.implicit
        self.assertTrue(isinstance(implicit.loginEndpoint, LoginEndpoint))
        self.assertEqual(implicit.loginEndpoint.url,
            'http://petstore.swagger.wordnik.com/api/oauth/dialog')
login endpoint
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_spec.py/PropertyTestCase.test_login_endpoint