]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2298] rename the parameter name for template
authorNaoki Kambe <kambe@jprs.co.jp>
Fri, 26 Oct 2012 07:21:53 +0000 (16:21 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Fri, 26 Oct 2012 11:36:21 +0000 (20:36 +0900)
src/bin/stats/tests/b10-stats-httpd_test.py

index 629d4964c4c7bc831084d3c469cafdecd24ff1f5..05488cdf43f96928bb77f0d1b5462b90e781a926 100644 (file)
@@ -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="<dummy></dummy>",
-            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)