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