[Zope-Checkins] SVN: Zope/trunk/src/App/tests/test_ApplicationManager.py Yet more coverage for App.ApplicationManager.ApplicationManager.

Tres Seaver tseaver at palladion.com
Wed Apr 7 21:21:38 EDT 2010


Log message for revision 110624:
  Yet more coverage for App.ApplicationManager.ApplicationManager.

Changed:
  U   Zope/trunk/src/App/tests/test_ApplicationManager.py

-=-
Modified: Zope/trunk/src/App/tests/test_ApplicationManager.py
===================================================================
--- Zope/trunk/src/App/tests/test_ApplicationManager.py	2010-04-08 01:21:36 UTC (rev 110623)
+++ Zope/trunk/src/App/tests/test_ApplicationManager.py	2010-04-08 01:21:38 UTC (rev 110624)
@@ -439,19 +439,24 @@
         swdir = config.softwarehome = self._makeTempdir()
         self.assertEqual(am.getSOFTWARE_HOME(), swdir)
 
+    def test_getZOPE_HOME_missing(self):
+        am = self._makeOne()
+        config = self._makeConfig()
+        self.assertEqual(am.getZOPE_HOME(), None)
+
     def test_getZOPE_HOME_present(self):
         am = self._makeOne()
         config = self._makeConfig()
         zopedir = config.zopehome = self._makeTempdir()
         self.assertEqual(am.getZOPE_HOME(), zopedir)
 
-    def test_getINSTANCE_HOME_present(self):
+    def test_getINSTANCE_HOME(self):
         am = self._makeOne()
         config = self._makeConfig()
         instdir = config.instancehome = self._makeTempdir()
         self.assertEqual(am.getINSTANCE_HOME(), instdir)
 
-    def test_getCLIENT_HOME_present(self):
+    def test_getCLIENT_HOME(self):
         am = self._makeOne()
         config = self._makeConfig()
         cldir = config.clienthome = self._makeTempdir()



More information about the Zope-Checkins mailing list