Exemplo n.º 1
0
 def test_app_conf_unknown_app(self):
     loader = DirectoryConfLoader(self.dir)
     app_conf = loader.app_conf('foo')
     assert app_conf is None
Exemplo n.º 2
0
 def test_app_conf(self):
     foo_conf_file = self.make_conf_file('foo.yaml')
     loader = DirectoryConfLoader(self.dir)
     app_conf = loader.app_conf('foo')
     eq_(app_conf['mapproxy_conf'], foo_conf_file)
Exemplo n.º 3
0
 def test_app_conf(self):
     foo_conf_file = self.make_conf_file('foo.yaml')
     loader = DirectoryConfLoader(self.dir)
     app_conf = loader.app_conf('foo')
     eq_(app_conf['mapproxy_conf'], foo_conf_file)
Exemplo n.º 4
0
 def test_app_conf_unknown_app(self):
     loader = DirectoryConfLoader(self.dir)
     app_conf = loader.app_conf('foo')
     assert app_conf is None
Exemplo n.º 5
0
 def test_app_conf(self):
     foo_conf_file = self.make_conf_file("foo.yaml")
     loader = DirectoryConfLoader(self.dir)
     app_conf = loader.app_conf("foo")
     eq_(app_conf["mapproxy_conf"], foo_conf_file)