EduploneWebdidactics/tests common.py,1.1,1.2

Jens Klein <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneWebdidactics/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10646/tests

Modified Files:
	common.py 
Log Message:
minor changes, inc version


Index: common.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/tests/common.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** common.py	3 Nov 2004 12:40:17 -0000	1.1
--- common.py	3 Nov 2004 18:45:17 -0000	1.2
***************
*** 1,6 ****
  from Testing import ZopeTestCase
  
! from Products.EduploneLearningSequence.config import *
! from Products.EduploneLearningSequence.Extensions.Install \
       import install as myInstall
  
--- 1,6 ----
  from Testing import ZopeTestCase
  
! from Products.EduploneWebdidactics.config import *
! from Products.EduploneWebdidactics.Extensions.Install \
       import install as myInstall
  
***************
*** 30,36 ****
  
  def createRulebook(testcase, portal):
!     pass
  
  def createVocabulary(testcase, portal):
      self.atvm.invokeFactory('SimpleVocabulary','dml')
      self.atvm.svtest.setTitle('DML Test Vocabulary')
--- 30,42 ----
  
  def createRulebook(testcase, portal):
!     testcase.loginPortalOwner()
!     jigreg=portal.relationsjig_registry()
!     testcase.logout()
!     testcase.login()
  
  def createVocabulary(testcase, portal):
+     testcase.loginPortalOwner()
      self.atvm.invokeFactory('SimpleVocabulary','dml')
      self.atvm.svtest.setTitle('DML Test Vocabulary')
+     testcase.logout()
+     testcase.login()



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
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.