mailr15907 - /1.3/test_suite/system_tests/state.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 03, 2012 - 18:14:
Author: bugman
Date: Thu May  3 18:14:11 2012
New Revision: 15907

URL: http://svn.gna.org/viewcvs/relax?rev=15907&view=rev
Log:
Big bug fix for the test suite!

One of the state system tests was removing the frame order analysis from the
generic_fns.pipes.VALID_TYPES list with a pop() call.  But this change is 
permanent.  So in the
later Bmrb.test_bmrb_rw GUI test, the GUI fails as this list is used in the 
pipe.create GUI user
function interface and it no longer matches the corresponding PIPE_DESC_LIST 
structure!


Modified:
    1.3/test_suite/system_tests/state.py

Modified: 1.3/test_suite/system_tests/state.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/state.py?rev=15907&r1=15906&r2=15907&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/state.py (original)
+++ 1.3/test_suite/system_tests/state.py Thu May  3 18:14:11 2012
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2008-2011 Edward d'Auvergne                                  
 #
+# Copyright (C) 2008-2012 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -21,6 +21,7 @@
 
###############################################################################
 
 # Python module imports.
+from copy import deepcopy
 import sys
 from tempfile import mktemp
 
@@ -89,7 +90,7 @@
         reset()
 
         # The data pipe list.
-        pipe_types = VALID_TYPES
+        pipe_types = deepcopy(VALID_TYPES)
         pipe_types.pop(pipe_types.index("frame order"))
 
         # Create a few data pipes.




Related Messages


Powered by MHonArc, Updated Thu May 03 18:40:01 2012