def test_verb_delete_existing(self):
        apimgr = self.create_mgr()
        apimgr.add(SqlAlchemyEndpoint(self.db, self.Book, ['title']))

        book = self.Book()
        book.title = 'title'
        self.db.session.add(book)
        self.db.session.flush()
        book_id = book.id

        response = self.client.delete('/book/%s' % book.id)
        print_tb(response)
        self.assert_200(response)
        book = self.Book.query.filter_by(id=book_id).first()
        self.assertIs(book, None)
dataset/ETHPy150Open ahri/flask-snooze/tests/test_snooze_sqlalchemyendpoint.py/TestSnoozeHttp.test_verb_delete_existing/original