Example #1
0
 def test_app_conf_unknown_app(self):
     loader = DirectoryConfLoader(self.dir)
     app_conf = loader.app_conf('foo')
     assert app_conf is None
Example #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)
Example #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)
Example #4
0
 def test_app_conf_unknown_app(self):
     loader = DirectoryConfLoader(self.dir)
     app_conf = loader.app_conf('foo')
     assert app_conf is None
Example #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)