Commit 1d0aeccb authored by Jérome Perrin's avatar Jérome Perrin

dms: run testERP5Base.TestImage with DMS installed

because DMS extends image portal types with interaction workflows etc,
it's better to also cover the case where DMS is installed.
parent befb7d84
...@@ -2935,12 +2935,13 @@ class TestDocumentPerformance(TestDocumentMixin): ...@@ -2935,12 +2935,13 @@ class TestDocumentPerformance(TestDocumentMixin):
"Conversion took %s seconds and it is not less them 100.0 seconds" % \ "Conversion took %s seconds and it is not less them 100.0 seconds" % \
req_time) req_time)
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestDocument)) suite.addTest(unittest.makeSuite(TestDocument))
suite.addTest(unittest.makeSuite(TestDocumentWithSecurity)) suite.addTest(unittest.makeSuite(TestDocumentWithSecurity))
suite.addTest(unittest.makeSuite(TestDocumentPerformance)) suite.addTest(unittest.makeSuite(TestDocumentPerformance))
# Run erp5_base's TestImage with dms installed (because dms has specific interactions)
from erp5.component.test.testERP5Base import TestImage
suite.addTest(unittest.makeSuite(TestImage))
return suite return suite
# vim: syntax=python shiftwidth=2
\ No newline at end of file
...@@ -2,3 +2,4 @@ erp5_full_text_mroonga_catalog ...@@ -2,3 +2,4 @@ erp5_full_text_mroonga_catalog
erp5_core_proxy_field_legacy erp5_core_proxy_field_legacy
erp5_ingestion_mysql_innodb_catalog erp5_ingestion_mysql_innodb_catalog
erp5_ingestion_test erp5_ingestion_test
erp5_core_test
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment