#NEWLINE# def test_storing_embdded_pipeline( ) : #NEWLINE# #INDENT# p = jip . Pipeline ( ) #NEWLINE# p . run ( 'embedded' ) #NEWLINE# jobs = jip . create_jobs ( p ) #NEWLINE# assert ( len ( jobs ) == 1 ) #NEWLINE# assert ( jobs [ 0 ] . on_success is not None ) #NEWLINE# emb = jobs [ 0 ] . on_success #NEWLINE# assert ( len ( emb ) == 1 ) #NEWLINE# data = pickle . dumps ( emb ) #NEWLINE# assert ( data is not None )