Commit c9aabe01 authored by Hanno Schlichting's avatar Hanno Schlichting

Adjust schema loading test to new skel location

parent 0dad2a9c
...@@ -71,7 +71,9 @@ class StartupTestCase(unittest.TestCase): ...@@ -71,7 +71,9 @@ class StartupTestCase(unittest.TestCase):
def test_load_config_template(self): def test_load_config_template(self):
schema = self.schema schema = self.schema
cfg = getConfiguration() cfg = getConfiguration()
fn = os.path.join(cfg.zopehome, "skel", "etc", "zope.conf.in") import Zope2.utilities
base = os.path.dirname(Zope2.utilities.__file__)
fn = os.path.join(base, "skel", "etc", "zope.conf.in")
f = open(fn) f = open(fn)
text = f.read() text = f.read()
f.close() f.close()
......
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