def test_deletepage_flash_message(self):
    'Make sure that the delete page shows the proper flash message'
    self.add_feature_request()
    response = self.client.post(url_for('feature_requests_delete', feature_request_id=self.fr.id), follow_redirects=True)
    assert (response.status == '200 OK')
    assert (b'Feature request deleted!' in response.data)
    assert (response.data.count(b'Update') == 0)
    assert (response.data.count(b'Delete') == 0)
Make sure that the delete page shows the proper flash message
def test_deletepage_flash_message(self):
    
    self.add_feature_request()
    response = self.client.post(url_for('feature_requests_delete', feature_request_id=self.fr.id), follow_redirects=True)
    assert (response.status == '200 OK')
    assert (b'Feature request deleted!' in response.data)
    assert (response.data.count(b'Update') == 0)
    assert (response.data.count(b'Delete') == 0)