#NEWLINE# def test_seed_form_seedset_collection( self ) : #NEWLINE# #INDENT# '\n        test that seedset and collection are loaded with seed form view\n        ' #NEWLINE# request = self . factory . get ( reverse ( 'seed_create' , args = [ response . seedset . pk ] ) ) #NEWLINE# request . user = self . user #NEWLINE# response = SeedCreateView . as_view ( ) ( request , seed_set_pk = self . seedset . pk ) #NEWLINE# self . assertEqual ( self . seedset , response . context_data [ 'form' ] . initial [ 'seed_set' ] ) #NEWLINE# self . assertEqual ( self . seedset , response . context_data [ 'seed_set' ] ) #NEWLINE# self . assertEqual ( self . collection , response . context_data [ 'collection' ] )