#NEWLINE# def test_filter_is_read_true( self ) : #NEWLINE# #INDENT# self . _makeNotification ( is_read = False ) #NEWLINE# n = self . _makeNotification ( is_read = True ) #NEWLINE# self . client . force_authenticate ( user = self . follower ) #NEWLINE# res = self . client . get ( ( reverse ( 'notification-list' ) + '?is_read=1' ) ) #NEWLINE# eq_ ( res . status_code , 200 ) #NEWLINE# eq_ ( [ d [ 'id' ] for d in res . data ] , [ n . id ] )