EduploneTest/types EduploneTestingEnvironment.py,1.8,1.9
"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-serv17972/EduploneTest/types
Modified Files:
EduploneTestingEnvironment.py
Log Message:
Fixed tabs again...
Index: EduploneTestingEnvironment.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneTestingEnvironment.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** EduploneTestingEnvironment.py 10 Oct 2004 12:31:23 -0000 1.8
--- EduploneTestingEnvironment.py 10 Oct 2004 16:04:42 -0000 1.9
***************
*** 430,445 ****
def testIsRunning(self):
! """
! Returns 1 if the test is running, 0 if not.
! Uses start / stop times to evaluate.
! """
! current_time = time() ## time.time()
! test_start_time = self.getStarttime().timeTime()
! test_stop_time = self.getStoptime().timeTime()
! if test_start_time < current_time < test_stop_time:
! return 1
! else:
! return 0
def applyForTest(self):
--- 430,445 ----
def testIsRunning(self):
! """
! Returns 1 if the test is running, 0 if not.
! Uses start / stop times to evaluate.
! """
! current_time = time() ## time.time()
! test_start_time = self.getStarttime().timeTime()
! test_stop_time = self.getStoptime().timeTime()
! if test_start_time < current_time < test_stop_time:
! return 1
! else:
! return 0
def applyForTest(self):
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl