Author: bugman Date: Sun Nov 25 22:26:54 2007 New Revision: 3974 URL: http://svn.gna.org/viewcvs/relax?rev=3974&view=rev Log: Fixed the unit test for the deletion of the diffusion tensor data structure.
Modified: 1.3/test_suite/unit_tests/diffusion_tensor_testing_base.py Modified: 1.3/test_suite/unit_tests/diffusion_tensor_testing_base.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/diffusion_tensor_testing_base.py?rev=3974&r1=3973&r2=3974&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/diffusion_tensor_testing_base.py (original) +++ 1.3/test_suite/unit_tests/diffusion_tensor_testing_base.py Sun Nov 25 22:26:54 2007 @@ -69,8 +69,8 @@ # Delete the tensor data. self.diffusion_tensor_fns.delete() - # Test that tm is not 0.0. - self.assertNotEqual(relax_data_store['orig'].diff_tensor.tm, 0.0) + # Test that tm does not exist. + self.failIf(hasattr(relax_data_store['orig'].diff_tensor, 'tm')) def test_delete_fail_no_data(self): _______________________________________________ relax (http://nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits