#NEWLINE# def test_delete_note( self ) : #NEWLINE# #INDENT# self . _add_notes_to_data_point ( ) #NEWLINE# request = self . factory . delete ( '/' , ** self . extra ) #NEWLINE# response = self . view ( request , pk = self . pk ) #NEWLINE# self . assertEqual ( response . status_code , 204 ) #NEWLINE# request = self . factory . get ( '/' , ** self . extra ) #NEWLINE# response = self . view ( request ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertEquals ( self . data , [ ] )