Exemplo n.º 1
0
    def test_get_default_config(self):
        ext = Extension()

        config = ext.get_default_config()

        self.assertIn('[dirble]', config)
        self.assertIn('enabled = true', config)
Exemplo n.º 2
0
    def test_get_config_schema(self):
        ext = Extension()

        schema = ext.get_config_schema()
        self.assertIn('api_key', schema)