Browse Source

[2298] rename the parameter name for template

Naoki Kambe 12 years ago
parent
commit
48861bc8e4
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/bin/stats/tests/b10-stats-httpd_test.py

+ 1 - 3
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="<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)