[Erp5-report] r17328 - /erp5/trunk/products/ERP5Type/tests/testConstraint.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 31 19:29:02 CET 2007
Author: yo
Date: Wed Oct 31 19:29:02 2007
New Revision: 17328
URL: http://svn.erp5.org?rev=17328&view=rev
Log:
Obtain VERBOSE from the environment.
Modified:
erp5/trunk/products/ERP5Type/tests/testConstraint.py
Modified: erp5/trunk/products/ERP5Type/tests/testConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testConstraint.py?rev=17328&r1=17327&r2=17328&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testConstraint.py (original)
+++ erp5/trunk/products/ERP5Type/tests/testConstraint.py Wed Oct 31 19:29:02 2007
@@ -27,6 +27,7 @@
##############################################################################
import unittest
+import os
from Products.ERP5Type.tests.testERP5Type import PropertySheetTestCase
from AccessControl.SecurityManagement import newSecurityManager
@@ -35,7 +36,7 @@
class TestConstraint(PropertySheetTestCase):
run_all_test = 1
- quiet = 1
+ quiet = not os.environ.get('VERBOSE', 0)
object_portal_type = "Organisation"
object_content_portal_type = "Address"
More information about the Erp5-report
mailing list