#NEWLINE# def test_seedset_form_view( self ) : #NEWLINE# #INDENT# '\n        simple test that seedset form loads with collection\n        ' #NEWLINE# request = self . factory . get ( reverse ( 'seedset_create' , args = [ self . collection . pk ] ) ) #NEWLINE# request . user = self . user #NEWLINE# response = SeedSetCreateView . as_view ( ) ( request , collection_pk = self . collection . pk ) #NEWLINE# self . assertEqual ( self . collection , response . context_data [ 'form' ] . initial [ 'collection' ] ) #NEWLINE# self . assertEqual ( self . collection , response . context_data [ 'collection' ] )