dstandish commented on code in PR #43944:
URL: https://github.com/apache/airflow/pull/43944#discussion_r1842971073


##########
tests/utils/test_session.py:
##########
@@ -53,3 +55,13 @@ def test_provide_session_with_kwargs(self):
 
         session = object()
         assert wrapper(session=session) is session
+
+    @pytest.mark.asyncio
+    async def test_async_session(self):
+        from airflow.settings import create_async_session
+
+        session = create_async_session()
+        session.add(Log(event="hihi1234"))
+        await session.commit()
+        l = await session.scalar(select(Log).where(Log.event == 
"hihi1234").limit(1))  # noqa: E741
+        assert l.event == "hihi1234"

Review Comment:
   i can do this in a followup kaxil if it pleases you. don't want to wait for 
99 ci checks to run agaih 😬 



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