From: Naoki Kambe Date: Tue, 16 Oct 2012 01:24:57 +0000 (+0900) Subject: [2298] add constants of XML namespaces for using in tests X-Git-Tag: trac2487_base~1^2~26^2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5b2478b78e91ad82e981fd6ef6b9fe41bc59fb9;p=thirdparty%2Fkea.git [2298] add constants of XML namespaces for using in tests --- diff --git a/src/bin/stats/tests/b10-stats-httpd_test.py b/src/bin/stats/tests/b10-stats-httpd_test.py index a1f725dce9..635c31e878 100644 --- a/src/bin/stats/tests/b10-stats-httpd_test.py +++ b/src/bin/stats/tests/b10-stats-httpd_test.py @@ -43,6 +43,12 @@ from test_utils import BaseModules, ThreadingServerManager, MyStats,\ send_command, send_shutdown from isc.testutils.ccsession_mock import MockModuleCCSession +# set XML Namespaces for testing +XMLNS_XSL = "http://www.w3.org/1999/XSL/Transform" +XMLNS_XHTML = "http://www.w3.org/1999/xhtml" +XMLNS_XSD = "http://www.w3.org/2001/XMLSchema" +XMLNS_XSI = stats_httpd.XMLNS_XSI + DUMMY_DATA = { 'Boss' : { "boot_time": "2011-03-04T11:59:06Z"