Author: bugman Date: Thu May 22 16:01:01 2008 New Revision: 6252 URL: http://svn.gna.org/viewcvs/relax?rev=6252&view=rev Log: Fixed the test_load_and_modify unit test. Key order doesn't matter now. Modified: branches/singleton_fixing/test_suite/unit_tests/state_testing_base.py Modified: branches/singleton_fixing/test_suite/unit_tests/state_testing_base.py URL: http://svn.gna.org/viewcvs/relax/branches/singleton_fixing/test_suite/unit_tests/state_testing_base.py?rev=6252&r1=6251&r2=6252&view=diff ============================================================================== --- branches/singleton_fixing/test_suite/unit_tests/state_testing_base.py (original) +++ branches/singleton_fixing/test_suite/unit_tests/state_testing_base.py Thu May 22 16:01:01 2008 @@ -107,7 +107,7 @@ # Test the contents of the restored singleton (with subsequent data added). - self.assertEqual(relax_data_store.keys(), ['orig', 'new']) + self.assertEqual(relax_data_store.keys().sort(), ['orig', 'new'].sort()) self.assertEqual(relax_data_store.current_pipe, 'new') self.assertEqual(relax_data_store['orig'].x, 1) self.assertEqual(relax_data_store.y, 'Hello')