'Tests a model\'s field has a method'

def test_model_list_method_field(self):

    client = self.app.test_client()
    self.login(client, DEFAULT_ADMIN_USER, DEFAULT_ADMIN_PASSWORD)
    self.insert_data2()
    rv = client.get('/model2view/list/')
    eq_(rv.status_code, 200)
    data = rv.data.decode('utf-8')
    ok_(('field_method_value' in data))
    self.clean_data()
