[Checkins] SVN: zopeorg.deployment/trunk/zopeorg/deployment/tests/testSetupHandlers.py Make sure the default theme is set correctly

Wichert Akkerman wichert at wiggy.net
Fri Jan 11 09:30:54 EST 2008


Log message for revision 82809:
  Make sure the default theme is set correctly

Changed:
  U   zopeorg.deployment/trunk/zopeorg/deployment/tests/testSetupHandlers.py

-=-
Modified: zopeorg.deployment/trunk/zopeorg/deployment/tests/testSetupHandlers.py
===================================================================
--- zopeorg.deployment/trunk/zopeorg/deployment/tests/testSetupHandlers.py	2008-01-11 14:27:19 UTC (rev 82808)
+++ zopeorg.deployment/trunk/zopeorg/deployment/tests/testSetupHandlers.py	2008-01-11 14:30:54 UTC (rev 82809)
@@ -4,12 +4,14 @@
     """Test actions performed by the setup handler code.
     """
     def testMemberAreaDisabled(self):
-        mt = self.portal.portal_membership
+        mt=self.portal.portal_membership
         self.assertEqual(mt.memberareaCreationFlag, 0)
 
     def testThemeInstalled(self):
-        qi = self.portal.portal_quickinstaller
+        qi=self.portal.portal_quickinstaller
         self.assertEqual(qi.isProductInstalled("zopeorg.theme"), True)
+        st=self.portal.portal_skins
+        self.assertEqual(st.getDefaultSkin(), "Zope.org Theme")
 
 def test_suite():
     from unittest import TestSuite, makeSuite



More information about the Checkins mailing list