[Zope3-checkins] CVS: Zope3/src/zope/app/dublincore/tests - test_creatorannotator.py:1.7.12.2

Marius Gedminas marius at pov.lt
Fri Mar 19 13:51:24 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/dublincore/tests
In directory cvs.zope.org:/tmp/cvs-serv26650/src/zope/app/dublincore/tests

Modified Files:
      Tag: mgedmin-events2-branch
	test_creatorannotator.py 
Log Message:
Added IParticipation and replaced the lists of principals in IInteraction with
a list of participations.  Made BaseRequest an IParticipation and replaced
request.user with request.principal everywhere.



=== Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py 1.7.12.1 => 1.7.12.2 ===
--- Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py:1.7.12.1	Mon Mar  8 13:43:37 2004
+++ Zope3/src/zope/app/dublincore/tests/test_creatorannotator.py	Fri Mar 19 13:50:46 2004
@@ -72,8 +72,9 @@
 
 class DummyRequest:
 
-    def __init__(self, user):
-        self.user = user
+    def __init__(self, principal):
+        self.principal = principal
+        self.interaction = None
 
 
 class TestCreatorAnnotator(PlacefulSetup, TestCase, CleanUp):




More information about the Zope3-Checkins mailing list