[CMF-checkins] CVS: CMF - CHANGES.txt:1.290 all_cmf_tests.py:1.15

Jens Vagelpohl jens at dataflake.org
Wed Mar 23 16:27:40 EST 2005


Update of /cvs-repository/CMF
In directory cvs.zope.org:/tmp/cvs-serv3598

Modified Files:
	CHANGES.txt all_cmf_tests.py 
Log Message:
- Added DeprecationWarning to the all_cmf_tests.py script. The canonical
  way to run the tests is using "zopectl test".
  (http://www.zope.org/Collectors/CMF/272)



=== CMF/CHANGES.txt 1.289 => 1.290 ===
--- CMF/CHANGES.txt:1.289	Wed Mar 23 13:49:44 2005
+++ CMF/CHANGES.txt	Wed Mar 23 16:27:40 2005
@@ -57,6 +57,10 @@
 
   Others
 
+    - Added DeprecationWarning to the all_cmf_tests.py script. The canonical
+      way to run the tests is using "zopectl test".
+      (http://www.zope.org/Collectors/CMF/272)
+
     - CMFDefault: Oldstyle DefaultWorkflowDefinition is no longer registered.
       So you can't accidentally add this deprecated workflow.
 


=== CMF/all_cmf_tests.py 1.14 => 1.15 ===
--- CMF/all_cmf_tests.py:1.14	Fri Sep 10 11:00:19 2004
+++ CMF/all_cmf_tests.py	Wed Mar 23 16:27:40 2005
@@ -16,6 +16,7 @@
 
 $Id$
 """
+from warnings import warn
 
 import unittest
 import Testing
@@ -75,6 +76,10 @@
     sys.exit( 2 )
 
 def main():
+    warn( 'all_cmf_tests is deprecated and will be removed in CMF 1.7. '
+          'Please run the tests using \"zopectl test\" instead.'
+        , DeprecationWarning
+        )
 
     try:
         opts, args = getopt.getopt( sys.argv[1:], 'vq?' )



More information about the CMF-checkins mailing list