#NEWLINE# def test_index( self ) : #NEWLINE# #INDENT# modelfactories . CollectionFactory . create ( ) #NEWLINE# response = self . app . get ( '/api/v2/collections/' , extra_environ = self . extra_environ ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertTrue ( ( 'objects' in response . content ) )