EduploneExam/tests testResponse.py,1.4,1.5
Jens Klein <[email protected]>
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneExam/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6090/tests
Modified Files:
testResponse.py
Log Message:
tests are running now!
Index: testResponse.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/tests/testResponse.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** testResponse.py 15 Dec 2004 11:55:27 -0000 1.4
--- testResponse.py 15 Dec 2004 12:11:44 -0000 1.5
***************
*** 69,76 ****
def testGetMaxScore(self):
self.makeQuestionContext()
! self.qObj.setMaxScore(10.2)
self.rObj.setQuestion(self.qObj)
mScore=self.rObj.getMaxScore()
! self.failUnless(mScore==10.2)
--- 69,76 ----
def testGetMaxScore(self):
self.makeQuestionContext()
! self.qObj.setMaxScore(10)
self.rObj.setQuestion(self.qObj)
mScore=self.rObj.getMaxScore()
! self.failUnless(mScore==10)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/