def test_updatepage_ok(self):
    'Make sure that the update page is displayed properly along with the object'
    self.add_feature_request()
    response = self.client.get(url_for('feature_requests_update', feature_request_id=self.fr.id))
    assert ('Edit Feature Request: {0}'.format(self.fr.id).encode() in response.data)
    assert (b"<form method='POST'>" in response.data)
    assert (b'form-group has-error' not in response.data)
    assert (self.fr.title.encode() in response.data)
    assert (self.fr.description.encode() in response.data)
Make sure that the update page is displayed properly along with the object
def test_updatepage_ok(self):
    
    self.add_feature_request()
    response = self.client.get(url_for('feature_requests_update', feature_request_id=self.fr.id))
    assert ('Edit Feature Request: {0}'.format(self.fr.id).encode() in response.data)
    assert (b"<form method='POST'>" in response.data)
    assert (b'form-group has-error' not in response.data)
    assert (self.fr.title.encode() in response.data)
    assert (self.fr.description.encode() in response.data)