def test_delete_browser_fakeout(self): response = self.app.post(url('comment', parent_id=1, id=1), extra_environ=self.extra_environ, params=dict(_method='delete')) from columns.model import Comment tmp = Comment.get_from_id(1) assert tmp is None
def test_delete(self): response = self.app.delete(url('comment', parent_id=1, id=1), extra_environ=self.extra_environ) from columns.model import Comment tmp = Comment.get_from_id(1) assert tmp is None