compare_runs: AttributeError: 'list' object has no attribute 'tests'
Traceback (most recent call last): File "./cibuglog/compare_runs.py", line 68, in <module> print(json.dumps(ser.to_representation(diff), sort_keys=True, indent=4)) File "/home/cbl-consumer/lib/python3.7/site-packages/rest_framework/serializers.py", line 530, in to_representation ret[field.field_name] = field.to_representation(attribute) File "/home/cbl-consumer/lib/python3.7/site-packages/rest_framework/fields.py", line 1889, in to_representation return method(value) File "/home/cbl-consumer/cibuglog/CIResults/serializers.py", line 234, in get_new_tests for k, v in obj.new_tests.tests.items()}AttributeError: 'list' object has no attribute 'tests'