omkar-foss commented on code in PR #44220:
URL: https://github.com/apache/airflow/pull/44220#discussion_r1851895723


##########
tests/api_fastapi/core_api/routes/public/test_task_instances.py:
##########
@@ -973,8 +978,8 @@ def test_return_TI_only_from_readable_dags(self, 
test_client, session):
             )
         response = test_client.get("/public/dags/~/dagRuns/~/taskInstances")
         assert response.status_code == 200
-        assert response.json["total_entries"] == 3
-        assert len(response.json["task_instances"]) == 3
+        assert response.json()["total_entries"] == 3
+        assert len(response.json()["task_instances"]) == 3

Review Comment:
   Yes there's this: `@pytest.mark.xfail(reason="permissions not implemented 
yet.")`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to