[CMF-checkins] CVS: CMF/CMFCore/tests/fake_skins/fake_skin - testXMLPT.pt:

Tres Seaver tseaver at zope.com
Thu Feb 5 01:03:35 EST 2004

Update of /cvs-repository/CMF/CMFCore/tests/fake_skins/fake_skin
In directory cvs.zope.org:/tmp/cvs-serv6452/CMFCore/tests/fake_skins/fake_skin

Modified Files:
      Tag: CMF-1_4-branch
Log Message:

  - CMFCore/tests/test_FSPageTemplate.py:

    o Break long lines.

  - CMFCore/tests/fake_skins/fake_skin/testXMLPT.pt:

    o Fix testing bug:  XML templates *must* declare namespaces.

    o Another bug, masked by the first:  'test' was not traversable
      from 'here' (use 'template/getId' instead, since we don't care
      about the actual output, only its content type).

=== CMF/CMFCore/tests/fake_skins/fake_skin/testXMLPT.pt 1.1 => ===
--- CMF/CMFCore/tests/fake_skins/fake_skin/testXMLPT.pt:1.1	Wed Jul 31 17:52:32 2002
+++ CMF/CMFCore/tests/fake_skins/fake_skin/testXMLPT.pt	Thu Feb  5 01:03:34 2004
@@ -1,2 +1,3 @@
 <?xml version="1.0"?>
-<test tal:content="here/test">This is only a test</test>
+<test xmlns:tal="http://xml.zope.org/namespaces/tal"
+      tal:content="template/getId">This is only a test</test>

More information about the CMF-checkins mailing list