Author: bugman
Date: Thu Aug 28 15:34:20 2014
New Revision: 25382

URL: http://svn.gna.org/viewcvs/relax?rev=25382&view=rev
Log:
Changed the method call in the new Test_periodic_table.test_get_atomic_mass 
unit test.


Modified:
    trunk/test_suite/unit_tests/_lib/test_periodic_table.py

Modified: trunk/test_suite/unit_tests/_lib/test_periodic_table.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/test_periodic_table.py?rev=25382&r1=25381&r2=25382&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/test_periodic_table.py     (original)
+++ trunk/test_suite/unit_tests/_lib/test_periodic_table.py     Thu Aug 28 
15:34:20 2014
@@ -34,15 +34,15 @@
         """Test of the periodic_table.atomic_mass() method."""
 
         # Check the proton weight.
-        weight = periodic_table.atomic_mass(symbol='H')
+        weight = periodic_table.atomic_mass(id='H')
         self.assertEqual(weight, 1.007975)
 
         # Check the 1H weight.
-        weight = periodic_table.atomic_weight(symbol='1H')
+        weight = periodic_table.atomic_weight(id='1H')
         self.assertEqual(weight, 1.0078250322)
 
         # Check the 2H weight.
-        weight = periodic_table.atomic_weight(symbol='2H')
+        weight = periodic_table.atomic_weight(id='2H')
         self.assertEqual(weight, 2.0141017781)
 
 


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

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

Reply via email to