EduploneTest/types EduploneTestingEnvironment.py,1.21,1.22

"Fabian K." <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneTest/types
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16934

Modified Files:
	EduploneTestingEnvironment.py 
Log Message:
Workaround for fillgap's acl_users bug - author of the test will automatically be on the students list

Index: EduploneTestingEnvironment.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneTestingEnvironment.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** EduploneTestingEnvironment.py	8 Nov 2004 16:34:17 -0000	1.21
--- EduploneTestingEnvironment.py	14 Nov 2004 22:30:32 -0000	1.22
***************
*** 187,190 ****
--- 187,192 ----
          OrderedBaseFolder.initializeArchetype(self, **kwargs)
          self.invokeFactory(id="users", type_name="eduplone TestMemberFolder")
+ 	self.users._addTestMembers([self.getCurrentUser().getId()], 2)
+ 	#self.users.invokeFactory(id=self.getCurrentUser().getId(), type_name="eduplone TestMember")
  
      def fixedObjectValues(self):



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.