amoghrajesh commented on code in PR #43934:
URL: https://github.com/apache/airflow/pull/43934#discussion_r1843316277
##########
tests/api_fastapi/core_api/routes/public/test_assets.py:
##########
@@ -459,3 +467,76 @@ def test_should_respond_404(self, test_client):
)
assert response.status_code == 404
assert response.json()["detail"] == "The Asset with uri:
`s3://bucket/key` was not found"
+
+
+class TestQueuedEventEndpoint:
+ default_time = "2020-06-11T18:00:00+00:00"
+
+ @pytest.fixture(autouse=True)
+ def setup(self) -> None:
+ clear_db_assets()
+
+ def teardown_method(self) -> None:
+ clear_db_assets()
+
Review Comment:
Good catch, sounds good. I refactored around a bit in tests
--
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]