def test_createpage_success(self):
    'The create page should return a 302 FOUND redirect when an entry is submitted'
    client = Client('C1')
    db.session.add(client)
    product_area = ProductArea('PA1')
    db.session.add(product_area)
    db.session.commit()
    response = self.client.post(url_for('feature_requests_create'), data=dict(title='Title', description='Desc', client=client.id, client_priority=1, target_date=datetime.date(2018, 1, 1), product_area=product_area.id))
    assert (response.status == '302 FOUND')
The create page should return a 302 FOUND redirect when an entry is submitted
def test_createpage_success(self):
    
    client = Client('C1')
    db.session.add(client)
    product_area = ProductArea('PA1')
    db.session.add(product_area)
    db.session.commit()
    response = self.client.post(url_for('feature_requests_create'), data=dict(title='Title', description='Desc', client=client.id, client_priority=1, target_date=datetime.date(2018, 1, 1), product_area=product_area.id))
    assert (response.status == '302 FOUND')