#NEWLINE# def test_it_adds_the_annotation_to_the_database( self , models ) : #NEWLINE# #INDENT# request = self . mock_request ( ) #NEWLINE# storage . create_annotation ( request , self . annotation_data ( ) ) #NEWLINE# request . db . add . assert_called_once_with ( models . Annotation . return_value )