#NEWLINE# def test_get_all_queries( self ) : #NEWLINE# #INDENT# queries = [ self . factory . create_query ( ) for _ in range ( 10 ) ] #NEWLINE# rv = self . make_request ( 'get' , '/api/queries' ) #NEWLINE# self . assertEquals ( rv . status_code , 200 ) #NEWLINE# self . assertEquals ( len ( rv . json ) , 10 )