Closed vamahaja closed 8 months ago
Below code is working -
from pylero.test_run import TestRun
project="test"
test_run_id="testrun"
template="test"
status="inprogress"
tr = TestRun.create(project_id=project, test_run_id=test_run_id, template=template)
tr.status = status
tr.arch = "i386"
arch = tr.get_custom_field("arch")
print(f"arch :: {arch}")
tr.update()
Mark resolve as it works with directly setting custom field with update attribute value
set_custom_field
method is missing fromTestRun
class. Refer below code -Getting below error -