Closed Renrut5 closed 3 months ago
Job result variable creation in source of record tests fails due to changes in Modeling structure in Nautobot 2.x.x.
https://github.com/nautobot/cookiecutter-nautobot-app/blob/59c354dc095745787a3d83092e04ca274505a65b/nautobot-app-ssot/%7B%7B%20cookiecutter.project_slug%20%7D%7D/%7B%7B%20cookiecutter.app_name%20%7D%7D/tests/test_%7B%7B%20cookiecutter.system_of_record_slug%20%7D%7D_adapter.py#L34-L36
Specifically, obj_type and job_id are no longer valid attributes for JobResult objects.
obj_type
job_id
JobResult
Details
Job result variable creation in source of record tests fails due to changes in Modeling structure in Nautobot 2.x.x.
https://github.com/nautobot/cookiecutter-nautobot-app/blob/59c354dc095745787a3d83092e04ca274505a65b/nautobot-app-ssot/%7B%7B%20cookiecutter.project_slug%20%7D%7D/%7B%7B%20cookiecutter.app_name%20%7D%7D/tests/test_%7B%7B%20cookiecutter.system_of_record_slug%20%7D%7D_adapter.py#L34-L36
Specifically,
obj_type
andjob_id
are no longer valid attributes forJobResult
objects.