[Checkins] SVN: zope.annotation/trunk/ Fix one test that was inactive because it's function was overriden by
Dan Korostelev
nadako at gmail.com
Mon Sep 7 12:04:59 EDT 2009
Log message for revision 103611:
Fix one test that was inactive because it's function was overriden by
a mistake. Thanks, PyDev :-)
Changed:
U zope.annotation/trunk/CHANGES.txt
U zope.annotation/trunk/buildout.cfg
U zope.annotation/trunk/src/zope/annotation/tests/annotations.py
-=-
Modified: zope.annotation/trunk/CHANGES.txt
===================================================================
--- zope.annotation/trunk/CHANGES.txt 2009-09-07 13:48:47 UTC (rev 103610)
+++ zope.annotation/trunk/CHANGES.txt 2009-09-07 16:04:58 UTC (rev 103611)
@@ -5,9 +5,12 @@
3.5.0 (unreleased)
------------------
-- ZODB3 is a true requirement of this package, not just a testing
- requirement, as BTrees are in use.
+- Add ZODB3 to install_requires, because it's a true requirement of this
+ package, not just a testing requirement, as BTrees are in use.
+- Fix one test that was inactive because it's function was overriden by
+ a mistake.
+
3.4.2 (2009-03-09)
------------------
Modified: zope.annotation/trunk/buildout.cfg
===================================================================
--- zope.annotation/trunk/buildout.cfg 2009-09-07 13:48:47 UTC (rev 103610)
+++ zope.annotation/trunk/buildout.cfg 2009-09-07 16:04:58 UTC (rev 103611)
@@ -1,6 +1,6 @@
[buildout]
develop = .
-parts = test
+parts = test pydev
[test]
recipe = zc.recipe.testrunner
@@ -9,3 +9,7 @@
[ctags]
recipe = z3c.recipe.tag:tags
eggs = zope.annotation
+
+[pydev]
+recipe = pb.recipes.pydev
+eggs = zope.annotation
Modified: zope.annotation/trunk/src/zope/annotation/tests/annotations.py
===================================================================
--- zope.annotation/trunk/src/zope/annotation/tests/annotations.py 2009-09-07 13:48:47 UTC (rev 103610)
+++ zope.annotation/trunk/src/zope/annotation/tests/annotations.py 2009-09-07 16:04:58 UTC (rev 103611)
@@ -54,11 +54,11 @@
def testGet(self):
# test get
- self.annotations['unittest'] = obj
+ self.annotations['unittest'] = self.obj
res = self.annotations.get('unittest')
- self.failUnlessEqual(obj, res)
+ self.failUnlessEqual(self.obj, res)
- def testGet(self):
+ def testGetNoSet(self):
# test get with no set
res = self.annotations.get('randomkey')
self.failUnlessEqual(None, res)
More information about the checkins
mailing list