Changeset 61220 in vbox for trunk/src/VBox/ValidationKit/testmanager/core/testboxstatus.py
- Timestamp:
- May 27, 2016 1:16:02 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/testboxstatus.py
r56295 r61220 34 34 35 35 # Validation Kit imports. 36 from testmanager.core.base import ModelDataBase, ModelDataBaseTestCase, ModelLogicBase, TM ExceptionBase;36 from testmanager.core.base import ModelDataBase, ModelDataBaseTestCase, ModelLogicBase, TMTooManyRows, TMRowNotFound; 37 37 from testmanager.core.testbox import TestBoxData; 38 38 … … 92 92 93 93 if aoRow is None: 94 raise TM ExceptionBase('TestBoxStatus not found.');94 raise TMRowNotFound('TestBoxStatus not found.'); 95 95 96 96 self.idTestBox = aoRow[0]; … … 175 175 if cRows != 1: 176 176 if cRows != 0: 177 raise TM ExceptionBase('tryFetchStatusForCommandReq got %s rows for idTestBox=%s' % (cRows, idTestBox));177 raise TMTooManyRows('tryFetchStatusForCommandReq got %s rows for idTestBox=%s' % (cRows, idTestBox)); 178 178 return (None, None); 179 179 aoRow = self._oDb.fetchOne();
Note:
See TracChangeset
for help on using the changeset viewer.