Problem with transition from 'Run test' to 'Show results'
Richard Poppe
rpoppe65 at hotmail.com
Tue Jul 19 06:24:36 UTC 2005
I made a workaround for the transition problem in file:
C:\Python23\Lib\site-packages\qm\test\web\web.py (HandleRunTests)
In the web function "HandleRunTests" it seems that i have to redirect to the
show-results page, before the execution thread starts. When i comment out
the delay, the show-results page will be displayed directly (and refresh
every few seconds). With the delay active the show-results page will never
come up. After some time the (firefox) browser comes with a pop-up message
that "www.ws6264.com" could not be found, while the base request was
"http://ws6264:3503/test/something".
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
comment out line 1860: time.sleep(5)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Python23\Lib\site-packages\qm\test\web\web.py (lines 1854-1864)
# Start the thread.
self.__execution_thread.start()
# Sleep for a few seconds so that if we're only running one
# test there's a good chance that it will finish before we
# show the results page.
# time.sleep(5)
# Redirect to the results page.
request = qm.web.WebRequest("show-results", base=request)
raise qm.web.HttpRedirect, request
_________________________________________________________________
Altijd in contact met de kleinkinderen: MSN Messenger
http://messenger.msn.nl/
More information about the qmtest
mailing list