BUG: cancel during test creation causes error
Scott Lowrey
slowrey at nextone.com
Fri Jan 9 22:02:48 UTC 2004
I think this is a bug. Pretty minor and probably too obscure to give
much priority to.
Follow this recipe and see if you get the same results.
(Version = latest CVS)
1. With no particular database, run qmtest gui
2. Create a new test, any name. I used "blarg" in this example.
3. Select class command.ExecTest
3. Click OK
4. Enter anything for program name
5. Click "Add Another" button in Resources section
6. Click Cancel
I would expect to be sent back to the main screen. Instead:
*Exception type:* qm.test.database.NoSuchTestError
*Exception value:* There is no test with the ID "blarg".
*Stack trace:*
File "/opt/test/lib/qm/web.py", line 476, in __HandleScriptRequest
script_output = self.server.ProcessScript(request)
File "/opt/test/lib/qm/web.py", line 815, in ProcessScript
return self.__scripts[request.GetUrl()](request)
File "/opt/test/lib/qm/test/web/web.py", line 2064, in HandleShowItem
item = database.GetTest(item_id)
File "/opt/test/lib/qm/test/file_database.py", line 56, in GetTest
raise NoSuchTestError, test_id
--
*Scott Lowrey*
NexTone Communications
Germantown, Maryland
/(240)912-1369/
www.nextone.com <http://www.nextone.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20040109/a5d09ea1/attachment.html>
More information about the qmtest
mailing list