#NEWLINE# def test_couverture_fluff( self ) : #NEWLINE# #INDENT# management . call_command ( 'ptop_fast_reindex_fluff' , TEST_DOMAIN , 'custom.intrahealth.models.CouvertureFluffPillow' , noinput = True ) #NEWLINE# query = sqlalchemy . select ( [ self . couverture . c . pps_name , self . couverture . c . registered_total_for_region , self . couverture . c . registered_total_for_district ] , from_obj = self . couverture , order_by = [ self . couverture . c . doc_id ] ) #NEWLINE# with self . engine . begin ( ) as connection : #NEWLINE# #INDENT# results = list ( connection . execute ( query ) . fetchall ( ) ) #NEWLINE# #UNINDENT# self . assertEqual ( len ( results ) , 1 ) #NEWLINE# self . assertListEqual ( [ self . pps . name , 1 , 1 ] , list ( results [ 0 ] ) )