[Zope3-checkins] CVS: Zope3/src/zope/app/tests -
test_decorator.py:1.1.2.2 test_dependable.py:1.3.24.1
test_rename.py:1.1.2.2
Jim Fulton
jim at zope.com
Tue Sep 9 15:08:50 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv4989/src/zope/app/tests
Modified Files:
Tag: parentgeddon-branch
test_decorator.py test_dependable.py test_rename.py
Log Message:
got more tests to pass on branch
=== Zope3/src/zope/app/tests/test_decorator.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/tests/test_decorator.py:1.1.2.1 Mon Sep 8 14:21:21 2003
+++ Zope3/src/zope/app/tests/test_decorator.py Tue Sep 9 14:08:19 2003
@@ -168,7 +168,7 @@
"""Descriptor for a Decorator that provides a decorated security checker.
>>> from zope.security.checker import defineChecker, NamesChecker, NoProxy
- >>> from zope.app.context import DecoratedSecurityCheckerDescriptor
+ >>> from zope.app.decorator import DecoratedSecurityCheckerDescriptor
>>> class MyDecorator(Decorator):
... __Security_checker__ = DecoratedSecurityCheckerDescriptor()
=== Zope3/src/zope/app/tests/test_dependable.py 1.3 => 1.3.24.1 ===
--- Zope3/src/zope/app/tests/test_dependable.py:1.3 Thu Jun 12 15:28:08 2003
+++ Zope3/src/zope/app/tests/test_dependable.py Tue Sep 9 14:08:19 2003
@@ -20,7 +20,8 @@
from zope.app.attributeannotations import AttributeAnnotations
from zope.app.tests.placelesssetup import PlacelessSetup
-class C:pass
+class C:
+ pass
class Test(PlacelessSetup, TestCase):
=== Zope3/src/zope/app/tests/test_rename.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/tests/test_rename.py:1.1.2.1 Mon Sep 8 14:21:21 2003
+++ Zope3/src/zope/app/tests/test_rename.py Tue Sep 9 14:08:19 2003
@@ -51,8 +51,8 @@
self.failIf('file1' in folder1)
folder1.setObject('file1', File())
rename(folder1, 'file1', 'my_file1')
- self.failIf('file1' in container)
- self.failUnless('my_file1' in container)
+ self.failIf('file1' in folder1)
+ self.failUnless('my_file1' in folder1)
def test_renamenonexisting(self):
root = self.rootFolder
More information about the Zope3-Checkins
mailing list