[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py Update test for current code

Wichert Akkerman wichert at wiggy.net
Thu Jul 10 16:39:56 EDT 2008


Log message for revision 88202:
  Update test for current code

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py	2008-07-10 20:32:32 UTC (rev 88201)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py	2008-07-10 20:39:55 UTC (rev 88202)
@@ -440,7 +440,7 @@
         self.assertEquals(obj.getProperty('lines3'), ('Gee', 'Foo', 'Bar'))
 
     def test_initProperties_remove_elements(self):
-        node = parseString(_REMOVE_ELEMENT_IMPORT).documentElement
+        node = _getDocumentElement(_REMOVE_ELEMENT_IMPORT)
         self.helpers.environ._should_purge = False # extension profile
         obj = self.helpers.context
         obj._properties = ()



More information about the Checkins mailing list