def test_createpage_success_flash(self):
    'The create page should display the proper flash message when an object is\n        created'
    self.add_other_objects()
    response = self.client.post(url_for('feature_requests_create'), data=dict(title='Title', description='Desc', client=self.cl.id, client_priority=1, target_date=datetime.date(2018, 1, 1), product_area=self.pa.id), follow_redirects=True)
    assert (response.status == '200 OK')
    assert (b'Feature request created!' in response.data)
    assert (response.data.count(b'Update') == 1)
    assert (response.data.count(b'Delete') == 1)
    assert (self.cl.name.encode() in response.data)
    assert (self.pa.name.encode() in response.data)
The create page should display the proper flash message when an object is
created
def test_createpage_success_flash(self):
    'The create page should display the proper flash message when an object is\n        created'
    self.add_other_objects()
    response = self.client.post(url_for('feature_requests_create'), data=dict(title='Title', description='Desc', client=self.cl.id, client_priority=1, target_date=datetime.date(2018, 1, 1), product_area=self.pa.id), follow_redirects=True)
    assert (response.status == '200 OK')
    assert (b'Feature request created!' in response.data)
    assert (response.data.count(b'Update') == 1)
    assert (response.data.count(b'Delete') == 1)
    assert (self.cl.name.encode() in response.data)
    assert (self.pa.name.encode() in response.data)