def test_updatepage_error(self):
    'The createpage should return an error when data is missing'
    self.add_feature_request()
    response = self.client.post(url_for('feature_requests_update', feature_request_id=self.fr.id), 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 createpage should return an error when data is missing
def test_updatepage_error(self):
    
    self.add_feature_request()
    response = self.client.post(url_for('feature_requests_update', feature_request_id=self.fr.id), 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')