mailr22305 - /trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py


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

Header


Content

Posted by tlinnet on February 25, 2014 - 15:04:
Author: tlinnet
Date: Tue Feb 25 15:04:56 2014
New Revision: 22305

URL: http://svn.gna.org/viewcvs/relax?rev=22305&view=rev
Log:
Added test for return of get_curve_type(), to match 'fixed time'.

Regarding bug #21665, (https://gna.org/bugs/?21665) - Running a CPMG analysis 
with two fields at two delay times.

Modified:
    
trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py

Modified: 
trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py?rev=22305&r1=22304&r2=22305&view=diff
==============================================================================
--- 
trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py 
(original)
+++ 
trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py 
Tue Feb 25 15:04:56 2014
@@ -25,7 +25,7 @@
 # relax module imports.
 from data_store import Relax_data_store; ds = Relax_data_store()
 from pipe_control import state
-from specific_analyses.relax_disp.disp_data import count_relax_times, 
loop_exp_frq, loop_exp_frq_offset, loop_exp_frq_offset_point, 
loop_exp_frq_offset_point_time, loop_time
+from specific_analyses.relax_disp.disp_data import count_relax_times, 
get_curve_type, loop_exp_frq, loop_exp_frq_offset, loop_exp_frq_offset_point, 
loop_exp_frq_offset_point_time, loop_time
 from status import Status; status = Status()
 from test_suite.unit_tests.base_classes import UnitTestCase
 
@@ -80,6 +80,11 @@
                 self.assertEqual(frq, data[1][1])
             # Test the time count
             self.assertEqual(count, 1)
+
+        # Check the return of get_curve_type function.
+        curve_type = get_curve_type()
+        print(curve_type)
+        self.assertEqual(curve_type, 'fixed time')
 
 
     def test_loop_exp_frq(self):




Related Messages


Powered by MHonArc, Updated Tue Feb 25 15:20:02 2014