def test_duplicate_output():
 assert_raises(BundleError, bundle_to_joblist, Bundle(Bundle('s1', output='foo'), Bundle('s2', output='foo')))

def test_duplicate_output ( ) : assert_raises ( BundleError , bundle_to_joblist , Bundle ( Bundle ( 's1' , output = 'foo' ) , Bundle ( 's2' , output = 'foo' ) ) )
an error is raised if within a single bundle .