139
139
req.store.add(new_var)
141
141
return {'result': 'ok'}
143
@named_operation('edit')
144
def edit_var(self, req, suiteid, varid, var_type, var_name, var_val, argno):
145
var = req.store.find(TestSuiteVar,
146
TestSuiteVar.varid == int(varid),
147
TestSuiteVar.suiteid == int(suiteid)
153
var.var_type = unicode(var_type)
154
var.var_name = unicode(var_name)
155
var.var_val = unicode(var_val)
156
var.argno = int(argno)
158
return {'result': 'ok'}
161
def add_testcase(): pass