@with_setup(reset)
def test_new_bundle():
 b = Bundle()
 register('foo', b, 's2', 's3')
 assert (b in _get('foo').contents)
 register('footon', 's1')
 assert ('s1' in _get('footon').contents)
 register('foofighters', b, output='bar')
 assert (b in _get('foofighters').contents)

@ with_setup ( reset ) def test_new_bundle ( ) : b = Bundle ( ) register ( 'foo' , b , 's2' , 's3' ) assert ( b in _get ( 'foo' ) . contents ) register ( 'footon' , 's1' ) assert ( 's1' in _get ( 'footon' ) . contents ) register ( 'foofighters' , b , output = 'bar' ) assert ( b in _get ( 'foofighters' ) . contents )
test registering a new bundle on the fly .