[CMF-checkins] CVS: Products/CMFCalendar/tests -
test_Calendar.py:1.12.2.2
Florent Guillaume
fg at nuxeo.com
Sun Mar 27 13:10:38 EST 2005
Update of /cvs-repository/Products/CMFCalendar/tests
In directory cvs.zope.org:/tmp/cvs-serv18256
Modified Files:
Tag: CMF-1_5-branch
test_Calendar.py
Log Message:
Removed spurious skin name before invokeFactory.
=== Products/CMFCalendar/tests/test_Calendar.py 1.12.2.1 => 1.12.2.2 ===
--- Products/CMFCalendar/tests/test_Calendar.py:1.12.2.1 Tue Nov 16 12:55:34 2004
+++ Products/CMFCalendar/tests/test_Calendar.py Sun Mar 27 13:10:37 2005
@@ -181,7 +181,7 @@
def test_singleEventCalendarRendering(self):
- self.Site.Members.folder_factories.invokeFactory(type_name="Event",id='Event1')
+ self.Site.Members.invokeFactory(type_name="Event",id='Event1')
event = self.app.restrictedTraverse('/CalendarTest/Members/Event1')
event.edit( title='title'
, description='description'
@@ -254,7 +254,7 @@
def test_spanningEventCalendarRendering(self):
- self.Site.Members.folder_factories.invokeFactory(type_name="Event",id='Event1')
+ self.Site.Members.invokeFactory(type_name="Event",id='Event1')
event = self.app.restrictedTraverse('/CalendarTest/Members/Event1')
event.edit( title='title'
, description='description'
@@ -340,7 +340,7 @@
def test_singleDayRendering(self):
- self.Site.Members.folder_factories.invokeFactory(type_name="Event",id='Event1')
+ self.Site.Members.invokeFactory(type_name="Event",id='Event1')
event = self.app.restrictedTraverse('/CalendarTest/Members/Event1')
event.edit( title='title'
, description='description'
@@ -363,7 +363,7 @@
assert len(self.Site.portal_calendar.getEventsForThisDay(thisDay=DateTime('2002/5/1'))) == 1
- self.Site.Members.folder_factories.invokeFactory(type_name="Event",id='Event2')
+ self.Site.Members.invokeFactory(type_name="Event",id='Event2')
event = self.app.restrictedTraverse('/CalendarTest/Members/Event2')
event.edit( title='title'
, description='description'
@@ -386,7 +386,7 @@
assert len(self.Site.portal_calendar.getEventsForThisDay(thisDay=DateTime('2002/5/1'))) == 2
- self.Site.Members.folder_factories.invokeFactory(type_name="Event",id='Event3')
+ self.Site.Members.invokeFactory(type_name="Event",id='Event3')
event = self.app.restrictedTraverse('/CalendarTest/Members/Event3')
event.edit( title='title'
, description='description'
@@ -409,7 +409,7 @@
assert len(self.Site.portal_calendar.getEventsForThisDay(thisDay=DateTime('2002/5/1'))) == 3
- self.Site.Members.folder_factories.invokeFactory(type_name="Event",id='Event4')
+ self.Site.Members.invokeFactory(type_name="Event",id='Event4')
event = self.app.restrictedTraverse('/CalendarTest/Members/Event4')
event.edit( title='title'
, description='description'
@@ -432,7 +432,7 @@
assert len(self.Site.portal_calendar.getEventsForThisDay(thisDay=DateTime('2002/5/1'))) == 4
- self.Site.Members.folder_factories.invokeFactory(type_name="Event",id='Event5')
+ self.Site.Members.invokeFactory(type_name="Event",id='Event5')
event = self.app.restrictedTraverse('/CalendarTest/Members/Event5')
event.edit( title='title'
, description='description'
More information about the CMF-checkins
mailing list