def test_scope(self):
        auth = app.raw.authorizations['oauth2']
        self.assertEqual(len(auth.scopes), 2)
        self.assertTrue(isinstance(auth.scopes[0], Scope))
        self.assertTrue(isinstance(auth.scopes[0], Scope))
        self.assertEqual(auth.scopes[0].scope, 'write:pets')
        self.assertEqual(auth.scopes[1].scope, 'read:pets')
        self.assertEqual(auth.scopes[1].description, 'Read your pets')
Set up eliot logging for use in scripts which are used in
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_spec.py/PropertyTestCase.test_scope--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/admin/acceptance.py/configure_eliot_logging_for_acceptance