'Test Model order on lists'

def test_model_list_order(self):

    self.insert_data()
    client = self.app.test_client()
    self.login(client, DEFAULT_ADMIN_USER, DEFAULT_ADMIN_PASSWORD)
    rv = client.post('/model1view/list?_oc_Model1View=field_string&_od_Model1View=asc', follow_redirects=True)
    data = rv.data.decode('utf-8')
    rv = client.post('/model1view/list?_oc_Model1View=field_string&_od_Model1View=desc', follow_redirects=True)
    data = rv.data.decode('utf-8')
    self.clean_data()
