Author: bugman Date: Tue Nov 20 23:01:11 2007 New Revision: 3730 URL: http://svn.gna.org/viewcvs/relax?rev=3730&view=rev Log: Added one additional object to the data storage singleton for testing. Modified: 1.3/test_suite/unit_tests/generic_fns/test_state.py Modified: 1.3/test_suite/unit_tests/generic_fns/test_state.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/generic_fns/test_state.py?rev=3730&r1=3729&r2=3730&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/generic_fns/test_state.py (original) +++ 1.3/test_suite/unit_tests/generic_fns/test_state.py Tue Nov 20 23:01:11 2007 @@ -45,6 +45,9 @@ # Add a single object to the 'orig' data pipe. relax_data_store['orig'].x = 1 + # Add a single object to the storage object. + relax_data_store.y = 'Hello' + def tearDown(self): """Reset the relax data storage object.""" @@ -74,6 +77,7 @@ # Test the contents of the empty singleton. self.assertEqual(relax_data_store.keys(), []) self.assertEqual(relax_data_store.current_pipe, None) + self.assert_(not hasattr(relax_data_store, 'y')) # Load the state. load_state('test')