[Erp5-report] r18894 - /erp5/trunk/products/ERP5OOo/tests/testDms.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jan 29 09:47:05 CET 2008
Author: romain
Date: Tue Jan 29 09:47:04 2008
New Revision: 18894
URL: http://svn.erp5.org?rev=18894&view=rev
Log:
Some features are not tested and should not be considered as working.
Enable failing tests for now.
Modified:
erp5/trunk/products/ERP5OOo/tests/testDms.py
Modified: erp5/trunk/products/ERP5OOo/tests/testDms.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testDms.py?rev=18894&r1=18893&r2=18894&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py Tue Jan 29 09:47:04 2008
@@ -325,19 +325,20 @@
self.tic()
self.failUnless(doc.getLatestVersionValue() == docs[7]) # there are two latest, neither in user language - it chooses the one in original language
- def no_test_05_UniqueReference(self,quiet=QUIET,run=RUN_ALL_TEST):
+ def test_05_UniqueReference(self,quiet=QUIET,run=RUN_ALL_TEST):
"""
Test automatic setting of unique reference
"""
if not run: return
printAndLog('\nTest Automatic Setting Unique Reference')
+ raise NotImplementedError
# create three empty test documents
# run setUniqueReference on the second
# reference of the second doc should now be TEST-auto-2
# run setUniqueReference('uniq') on the third
# reference of the third doc should now be TEST-uniq-1
- def no_test_06_testExplicitRelations(self,quiet=QUIET,run=RUN_ALL_TEST):
+ def test_06_testExplicitRelations(self,quiet=QUIET,run=RUN_ALL_TEST):
"""
Test explicit relations.
Explicit relations are just like any other relation, so no need to test them here
@@ -345,6 +346,7 @@
"""
if not run: return
printAndLog('\nTest Explicit Relations')
+ raise NotImplementedError
# create test documents:
# (1) TEST, 002, en
# (2) TEST, 003, en
@@ -355,12 +357,13 @@
# getSimilarCloudValueList on 4 should return 2, 3 and 5
# getSimilarCloudValueList(depth=1) on 4 should return 3 and 5
- def no_test_07_testImplicitRelations(self,quiet=QUIET,run=RUN_ALL_TEST):
+ def test_07_testImplicitRelations(self,quiet=QUIET,run=RUN_ALL_TEST):
"""
Test implicit (wiki-like) relations.
"""
# XXX this test should be extended to check more elaborate language selection
if not run: return
+ raise NotImplementedError
printAndLog('\nTest Implicit Relations')
# create docs to be referenced:
# (1) TEST, 002, en
@@ -458,7 +461,7 @@
self.assertEquals('attachment; filename="import_data_list.pdf"',
response.headers['content-disposition'])
- def test_01_getCreationDate(self):
+ def test_05_getCreationDate(self):
"""
Check getCreationDate on all document type, as those documents
are not associated to edit_workflow.
More information about the Erp5-report
mailing list