Author: bugman Date: Tue Dec 11 15:58:13 2012 New Revision: 18109 URL: http://svn.gna.org/viewcvs/relax?rev=18109&view=rev Log: Created the Pipes.test_change_type system test to check the non-existent pipe.change_type user function. Modified: trunk/test_suite/system_tests/pipes.py Modified: trunk/test_suite/system_tests/pipes.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/pipes.py?rev=18109&r1=18108&r2=18109&view=diff ============================================================================== --- trunk/test_suite/system_tests/pipes.py (original) +++ trunk/test_suite/system_tests/pipes.py Tue Dec 11 15:58:13 2012 @@ -32,6 +32,19 @@ class Pipes(SystemTestCase): """TestCase class for the functional tests of relax data pipes.""" + def test_change_type(self): + """Test the pipe.change_type user function.""" + + # Create the data pipe. + self.interpreter.pipe.create('test', 'frame order') + + # Change the type. + self.interpreter.pipe.change_type('N-state') + + # Check the type. + self.assertEqual(cdp.pipe_type, 'N-state') + + def test_pipe_bundle(self): """Test the pipe bundle concepts."""