Commit 7efbdc00 authored by Tres Seaver's avatar Tres Seaver

Yet more coverage for App.ApplicationManager.ApplicationManager.

parent 60437053
......@@ -439,19 +439,24 @@ class ApplicationManagerTests(ConfigTestBase,
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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment