From: Naoki Kambe Date: Fri, 26 Oct 2012 07:21:53 +0000 (+0900) Subject: [2298] rename the parameter name for template X-Git-Tag: trac2487_base~1^2~26^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48861bc8e403ec43666bc3f6f9514e1d86cb3705;p=thirdparty%2Fkea.git [2298] rename the parameter name for template --- diff --git a/src/bin/stats/tests/b10-stats-httpd_test.py b/src/bin/stats/tests/b10-stats-httpd_test.py index 629d4964c4..05488cdf43 100644 --- a/src/bin/stats/tests/b10-stats-httpd_test.py +++ b/src/bin/stats/tests/b10-stats-httpd_test.py @@ -713,9 +713,7 @@ class TestStatsHttpd(unittest.TestCase): self.assertTrue(lines.find(opts[n])>0) tmpl = self.stats_httpd.open_template(stats_httpd.XSL_TEMPLATE_LOCATION) self.assertTrue(isinstance(tmpl, string.Template)) - opts = dict( - xsl_string="", - xsd_namespace="http://host/path/to/") + opts = dict(xsd_namespace="http://host/path/to/") lines = tmpl.substitute(opts) for n in opts: self.assertTrue(lines.find(opts[n])>0)