#NEWLINE# def test_get_all_with_violations( self ) : #NEWLINE# #INDENT# 'Test get all with violations' #NEWLINE# self . _create_tasks ( ) #NEWLINE# response = self . api_client . get ( '{}?with_violations=1' . format ( self . url ) ) #NEWLINE# data = self . deserialize ( response ) #NEWLINE# data [ 'objects' ] [ 0 ] [ 'violations' ] [ 0 ] [ 'name' ] . should . be . ok #NEWLINE# data [ 'objects' ] [ 0 ] [ 'violations' ] [ 0 ] [ 'status' ] . should . be . ok