def test_dhparam_no_exist(self): cfile = create_config(("tls_dhparams=/fake/path/dhparams.pem",)) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_tls_dhparams()
def test_dhparam_no_exist(self): cfile = create_config(("tls_dhparams=/fake/path/dhparams.pem", )) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_tls_dhparams()