[Checkins] SVN: zc.objectlog/trunk/ * Added test extra to declare test dependencies.
Michael Howitz
mh at gocept.com
Fri Apr 1 02:56:09 EDT 2011
Log message for revision 121183:
* Added test extra to declare test dependencies.
* Updated tests to run with `zope.schema` >= 3.6 thus requiring at least this version.
Changed:
U zc.objectlog/trunk/CHANGES.txt
U zc.objectlog/trunk/buildout.cfg
U zc.objectlog/trunk/setup.py
U zc.objectlog/trunk/src/zc/objectlog/log.txt
-=-
Modified: zc.objectlog/trunk/CHANGES.txt
===================================================================
--- zc.objectlog/trunk/CHANGES.txt 2011-03-31 18:43:19 UTC (rev 121182)
+++ zc.objectlog/trunk/CHANGES.txt 2011-04-01 06:56:09 UTC (rev 121183)
@@ -1,3 +1,12 @@
+0.3.0 (unreleased)
+------------------
+
+* Added test extra to declare test dependencies.
+
+* Updated tests to run with `zope.schema` >= 3.6 thus requiring at least
+ this version.
+
+
0.2.1 (2008-05-16)
----------------
Modified: zc.objectlog/trunk/buildout.cfg
===================================================================
--- zc.objectlog/trunk/buildout.cfg 2011-03-31 18:43:19 UTC (rev 121182)
+++ zc.objectlog/trunk/buildout.cfg 2011-04-01 06:56:09 UTC (rev 121183)
@@ -1,11 +1,11 @@
[buildout]
develop = .
-parts = script
+parts = script
[test]
recipe = zc.recipe.testrunner
defaults = '--tests-pattern tests --exit-with-status -1 --auto-color'.split()
-eggs = zc.objectlog
+eggs = zc.objectlog [test]
[script]
Modified: zc.objectlog/trunk/setup.py
===================================================================
--- zc.objectlog/trunk/setup.py 2011-03-31 18:43:19 UTC (rev 121182)
+++ zc.objectlog/trunk/setup.py 2011-04-01 06:56:09 UTC (rev 121183)
@@ -94,6 +94,13 @@
'setuptools',
'zc.copy',
'zope.app.keyreference',
+ 'zope.schema >= 3.6',
],
+ extras_require=dict(
+ test=[
+ 'zope.app.security',
+ 'zope.testing',
+ 'zope.app.testing',
+ ]),
zip_safe = False
)
Modified: zc.objectlog/trunk/src/zc/objectlog/log.txt
===================================================================
--- zc.objectlog/trunk/src/zc/objectlog/log.txt 2011-03-31 18:43:19 UTC (rev 121182)
+++ zc.objectlog/trunk/src/zc/objectlog/log.txt 2011-04-01 06:56:09 UTC (rev 121183)
@@ -274,7 +274,7 @@
>>> emily.log("This isn't unicode so will not succeed")
Traceback (most recent call last):
...
- WrongType: ("This isn't unicode so will not succeed", <type 'unicode'>)
+ WrongType: ("This isn't unicode so will not succeed", <type 'unicode'>, 'summary')
>>> len(emily.log)
4
>>> success = emily.log(u"Yay, unicode")
More information about the checkins
mailing list