mailr7910 - /branches/spectral_errors/test_suite/unit_tests/_prompt/test_spectrum.py


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

Header


Content

Posted by edward on October 22, 2008 - 11:36:
Author: bugman
Date: Wed Oct 22 11:36:09 2008
New Revision: 7910

URL: http://svn.gna.org/viewcvs/relax?rev=7910&view=rev
Log:
Fix for 2 arg unit tests of the spectrum.integration_points() user function.


Modified:
    branches/spectral_errors/test_suite/unit_tests/_prompt/test_spectrum.py

Modified: 
branches/spectral_errors/test_suite/unit_tests/_prompt/test_spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/spectral_errors/test_suite/unit_tests/_prompt/test_spectrum.py?rev=7910&r1=7909&r2=7910&view=diff
==============================================================================
--- branches/spectral_errors/test_suite/unit_tests/_prompt/test_spectrum.py 
(original)
+++ branches/spectral_errors/test_suite/unit_tests/_prompt/test_spectrum.py 
Wed Oct 22 11:36:09 2008
@@ -101,7 +101,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxStrError, 
self.spectrum_fns.integration_points, spectrum_id=data[1])
+            self.assertRaises(RelaxStrError, 
self.spectrum_fns.integration_points, N=0, spectrum_id=data[1])
 
 
     def test_integration_points_argfail_spin_id(self):
@@ -114,7 +114,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxNoneStrError, 
self.spectrum_fns.integration_points, spectrum_id='x', spin_id=data[1])
+            self.assertRaises(RelaxNoneStrError, 
self.spectrum_fns.integration_points, N=0, spectrum_id='x', spin_id=data[1])
 
 
     def test_read_intensities_argfail_file(self):




Related Messages


Powered by MHonArc, Updated Wed Oct 22 11:40:02 2008