Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
pin versions to ZTK and fix the tests for those versions
Browse files Browse the repository at this point in the history
Note that I pinned the ZTK to specific revisions until there is a release
  • Loading branch information
Christian Zagrodnick committed Mar 24, 2010
1 parent 1961cc4 commit 371acea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions buildout.cfg
@@ -1,7 +1,13 @@
[buildout]
extends =
http://svn.zope.org/repos/main/zopetoolkit/trunk/ztk.cfg?p=109981
http://svn.zope.org/repos/main/zopetoolkit/trunk/zopeapp.cfg?p=109918
develop = .
parts = test pydev

[versions]
zc.resourcelibrary =

[test]
recipe = zc.recipe.testrunner
eggs = zc.resourcelibrary [test]
Expand Down
2 changes: 1 addition & 1 deletion src/zc/resourcelibrary/tests/ftesting.zcml
Expand Up @@ -17,7 +17,7 @@
title="Unauthenticated User" />


<include package="zope.app.securitypolicy" file="meta.zcml"/>
<include package="zope.securitypolicy" file="meta.zcml"/>

<securityPolicy
component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
Expand Down
5 changes: 2 additions & 3 deletions src/zc/resourcelibrary/tests/test_unit.py
@@ -1,6 +1,5 @@
import doctest
import unittest
from zope.testing.doctestunit import DocTestSuite

from zc.resourcelibrary import resourcelibrary
from zc.resourcelibrary.resourcelibrary import LibraryInfo
Expand Down Expand Up @@ -65,8 +64,8 @@ def doctest_dependency_resolution():
def test_suite():
return unittest.TestSuite(
(
DocTestSuite(setUp=setUp, tearDown=tearDown),
DocTestSuite('zc.resourcelibrary.publication',
doctest.DocTestSuite(setUp=setUp, tearDown=tearDown),
doctest.DocTestSuite('zc.resourcelibrary.publication',
optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
),
))
Expand Down

0 comments on commit 371acea

Please sign in to comment.