Commit 7943a5ca authored by Jim Fulton's avatar Jim Fulton

Changed some more references to Zope to Zope2

parent 2580fc77
...@@ -18,7 +18,7 @@ def zserverRunner(host, port, log=None): ...@@ -18,7 +18,7 @@ def zserverRunner(host, port, log=None):
if log is None: log = dummyLOG if log is None: log = dummyLOG
lg = logger.file_logger(log) lg = logger.file_logger(log)
hs = zhttp_server(ip=host, port=port, resolver=None, logger_object=lg) hs = zhttp_server(ip=host, port=port, resolver=None, logger_object=lg)
zh = zhttp_handler(module='Zope', uri_base='') zh = zhttp_handler(module='Zope2', uri_base='')
hs.install_handler(zh) hs.install_handler(zh)
asyncore.loop() asyncore.loop()
......
...@@ -150,7 +150,7 @@ def root_handler(config): ...@@ -150,7 +150,7 @@ def root_handler(config):
for factory in config.servers: for factory in config.servers:
factory.prepare(config.ip_address or '', factory.prepare(config.ip_address or '',
config.dns_resolver, config.dns_resolver,
"Zope", "Zope2",
config.cgi_environment, config.cgi_environment,
config.port_base) config.port_base)
......
...@@ -183,7 +183,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase): ...@@ -183,7 +183,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase):
starter = self.get_starter(conf) starter = self.get_starter(conf)
# do the job the 'handler' would have done (call prepare) # do the job the 'handler' would have done (call prepare)
for server in conf.servers: for server in conf.servers:
server.prepare('', None, 'Zope', {}, None) server.prepare('', None, 'Zope2', {}, None)
try: try:
starter.setupServers() starter.setupServers()
import ZServer import ZServer
...@@ -213,7 +213,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase): ...@@ -213,7 +213,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase):
## starter = self.get_starter(conf) ## starter = self.get_starter(conf)
## # do the job the 'handler' would have done (call prepare) ## # do the job the 'handler' would have done (call prepare)
## for server in conf.servers: ## for server in conf.servers:
## server.prepare('', None, 'Zope', {}, None) ## server.prepare('', None, 'Zope2', {}, None)
## try: ## try:
## self.assertRaises(ZConfig.ConfigurationError, starter.setupServers) ## self.assertRaises(ZConfig.ConfigurationError, starter.setupServers)
## finally: ## finally:
......
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