1👍
✅
In you script you have a method add_verify_data
(line 148):
def add_verify_data(test, v_var, rel_op, v_val, v_tol):
vd = WriteData.objects.get_or_create(
test=test,
verify_variable=v_var,
relational_operator=rel_op,
verify_value=v_val,
verify_tolerance=v_tol,
)[0]
vd.save()
return vd
which seems to be creating instance of WriteData
model with verify_variable
, relational_operator
, verify_value
and verify_tolerance
but this model doesn’t have those fields, only: write_variable
and write_value
.
Source:stackexchange.com