- Timestamp:
- 03/06/12 16:51:07 (8 years ago)
- Location:
- branches/3D/openPLM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3D/openPLM/document3D/views.py
r842 r846 248 248 extra_errors="The Document3D associated with the file STEP to decompose has been modified by another user while the forms were refilled:Please restart the process" 249 249 else: 250 print last_time_modification.errors 250 251 251 extra_errors="Mistake reading of the last modification of the document, please restart the task" 252 252 -
branches/3D/openPLM/plmapp/tests/gestion_document_native.py
r817 r846 2 2 from openPLM.plmapp.controllers.document import DocumentController 3 3 from openPLM.plmapp.tests.base import BaseTestCase 4 4 from openPLM.plmapp.exceptions import LockError 5 5 6 6 class DocNativeTestCase(BaseTestCase): … … 37 37 38 38 self.document.lock(native) 39 self.assertRaises( ValueError, self.document.lock, standar)39 self.assertRaises(LockError, self.document.lock, standar) 40 40 self.assertEqual(native.locked, True) 41 41 self.assertFalse(standar.locked)
Note: See TracChangeset
for help on using the changeset viewer.