[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/container/tests/test_contained.py
Trailing whitespaces removed
Dmitry Vasiliev
dima at hlabs.spb.ru
Fri Jun 24 06:56:46 EDT 2005
Log message for revision 30903:
Trailing whitespaces removed
Changed:
UU Zope3/trunk/src/zope/app/container/tests/test_contained.py
-=-
Modified: Zope3/trunk/src/zope/app/container/tests/test_contained.py
===================================================================
--- Zope3/trunk/src/zope/app/container/tests/test_contained.py 2005-06-24 10:01:45 UTC (rev 30902)
+++ Zope3/trunk/src/zope/app/container/tests/test_contained.py 2005-06-24 10:56:45 UTC (rev 30903)
@@ -35,7 +35,7 @@
"""Contained-object proxy
This is a picklable proxy that can be put around objects that
- don't implemeny IContained.
+ don't implement IContained.
>>> l = [1, 2, 3]
>>> p = ContainedProxy(l)
@@ -57,7 +57,7 @@
>>> p2.__name__
'p'
"""
-
+
def test_basic_persistent_w_non_persistent_proxied():
"""
>>> p = ContainedProxy([1])
@@ -89,7 +89,7 @@
def test_declarations_on_ContainedProxy():
r"""
-
+
It is possible to make declarations on ContainedProxy objects.
>>> class I1(zope.interface.Interface):
@@ -101,12 +101,12 @@
>>> p = ContainedProxy(c)
ContainedProxy provides no interfaces on it's own:
-
+
>>> tuple(zope.interface.providedBy(ContainedProxy))
()
It implements IContained and IPersistent:
-
+
>>> tuple(zope.interface.implementedBy(ContainedProxy))
(<InterfaceClass zope.app.container.interfaces.IContained>,
<InterfaceClass persistent.interfaces.IPersistent>)
@@ -140,7 +140,7 @@
<InterfaceClass persistent.interfaces.IPersistent>)
"""
-
+
def test_basic_persistent_w_persistent_proxied():
"""
@@ -165,12 +165,12 @@
>>> other.ob = parent.ob
We can change ob through either parent or other
-
+
>>> parent.ob.x = 1
>>> other.ob.y = 2
Now we'll save the data:
-
+
>>> db = DB(DemoStorage('test_storage'))
>>> c1 = db.open()
>>> c1.root()['parent'] = parent
@@ -209,7 +209,7 @@
1
And save the changes:
-
+
>>> transaction.commit()
Now we'll reopen the first connection and verify that we can see
@@ -224,7 +224,7 @@
3
>>> p2.ob.__parent__ is c1.root()['other']
1
-
+
>>> db.close()
"""
@@ -287,7 +287,7 @@
>>> x = gc.collect()
>>> conn._cache.get(oid) is not None
False
-
+
"""
Property changes on: Zope3/trunk/src/zope/app/container/tests/test_contained.py
___________________________________________________________________
Name: svn:keywords
+ Id
More information about the Zope3-Checkins
mailing list