[Zope-Checkins]
SVN: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/
A test case that imports an old style class,
instantiates it and calls
Philipp von Weitershausen
philikon at philikon.de
Tue May 23 05:31:41 EDT 2006
Log message for revision 68252:
A test case that imports an old style class, instantiates it and calls
a method on it. This currently fails, primarily because of a stupidity
in zope.traversing.adapters.traversePathElement and secondarily because
of other funkiness.
Changed:
A Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/input/CheckImportOldStyleClass.html
A Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/output/CheckImportOldStyleClass.html
U Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testHTMLTests.py
-=-
Added: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/input/CheckImportOldStyleClass.html
===================================================================
--- Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/input/CheckImportOldStyleClass.html 2006-05-23 09:18:05 UTC (rev 68251)
+++ Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/input/CheckImportOldStyleClass.html 2006-05-23 09:31:41 UTC (rev 68252)
@@ -0,0 +1 @@
+<p tal:define="now modules/DateTime/DateTime" tal:content="now/isCurrentYear" />
Property changes on: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/input/CheckImportOldStyleClass.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/output/CheckImportOldStyleClass.html
===================================================================
--- Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/output/CheckImportOldStyleClass.html 2006-05-23 09:18:05 UTC (rev 68251)
+++ Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/output/CheckImportOldStyleClass.html 2006-05-23 09:31:41 UTC (rev 68252)
@@ -0,0 +1 @@
+<p>True</p>
Property changes on: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/output/CheckImportOldStyleClass.html
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testHTMLTests.py
===================================================================
--- Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testHTMLTests.py 2006-05-23 09:18:05 UTC (rev 68251)
+++ Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testHTMLTests.py 2006-05-23 09:31:41 UTC (rev 68252)
@@ -162,6 +162,9 @@
self.assert_expected(self.folder.t, 'CheckI18nTranslateHooked.html')
setGlobalTranslationService(old_ts)
+ def checkImportOldStyleClass(self):
+ self.assert_expected(self.folder.t, 'CheckImportOldStyleClass.html')
+
def test_suite():
return unittest.makeSuite(HTMLTests, 'check')
More information about the Zope-Checkins
mailing list