def test_createpage_error(self):
    'The create page should return with error when post data is missing'
    response = self.client.post(url_for('feature_requests_create'), data=dict(title='Title', description='Desc', client=None, client_priority=1, target_date=datetime.date(2018, 1, 1), product_area=None))
    assert (b'form-group has-error' in response.data)
    assert (b"<form method='POST'>" in response.data)
    assert (response.status == '200 OK')
The create page should return with error when post data is missing
def test_createpage_error(self):
    
    response = self.client.post(url_for('feature_requests_create'), data=dict(title='Title', description='Desc', client=None, client_priority=1, target_date=datetime.date(2018, 1, 1), product_area=None))
    assert (b'form-group has-error' in response.data)
    assert (b"<form method='POST'>" in response.data)
    assert (response.status == '200 OK')