Skip to content

Commit

Permalink
Fix TestAccessLogging base class change in ZConfig >= 2.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
menesis committed Feb 27, 2012
1 parent 7c5db21 commit ab1096b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 0 additions & 4 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
[buildout]
develop = .
versions = versions
parts = test zope

[versions]
ZConfig = 2.8.0

[test]
recipe = zc.recipe.testrunner
eggs = zope.app.server [test]
Expand Down
9 changes: 7 additions & 2 deletions src/zope/app/server/tests/test_accesslog.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@
import unittest

from ZConfig.components.logger import loghandler
from ZConfig.components.logger.tests import test_logger

try:
from ZConfig.components.logger.tests.test_logger import LoggingTestBase
except ImportError:
from ZConfig.components.logger.tests.test_logger import LoggingTestHelper
class LoggingTestBase(LoggingTestHelper, unittest.TestCase):
pass

class TestAccessLogging(test_logger.LoggingTestBase):
class TestAccessLogging(LoggingTestBase):

name = "accesslog"

Expand Down

0 comments on commit ab1096b

Please sign in to comment.