jason810496 commented on code in PR #47270:
URL: https://github.com/apache/airflow/pull/47270#discussion_r1997493048


##########
tests/api_fastapi/core_api/routes/public/test_import_error.py:
##########
@@ -129,6 +140,53 @@ def test_get_import_error(
         }
         assert response.json() == expected_json
 
+    def test_should_raises_401_unauthenticated(self, 
unauthenticated_test_client, setup):
+        import_error_id = setup[FILENAME1].id

Review Comment:
   I just refactored the whole test case, thanks to pointing out!.



-- 
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