Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(19)  |  Call(19)  |  Derive(0)  |  Import(0)

src/d/j/django-configglue-0.7.1/django_configglue/tests/test_configglue.py   django-configglue(Download)
        parser = SchemaConfigParser(MySchema())
        result = get_django_settings(parser)
        self.assertEqual(result, expected)
 
    def test_get_django_settings_encoding(self):
        parser = SchemaConfigParser(MySchema())
        parser.readfp(config)
        self.assertEqual(parser.values('__main__'), {'foo': u'€'})
        result = get_django_settings(parser)
        self.assertEqual(result, expected)
            '__CONFIGGLUE_PARSER__': parser,
        }
        self.assertEqual(env, expected_env)
 
    def test_schemafactory_get(self):
        # test get valid version
        self.assertEqual(
            schemas.get('1.0', strict=True),