test_chat_session_and_transaction (__main__.EventLoopTests.test_chat_session_and_transaction) ... FAIL
test_lifecycle_pool_open_and_close (__main__.EventLoopTests.test_lifecycle_pool_open_and_close) ... FAIL
test_login_lookup_verify_and_session (__main__.EventLoopTests.test_login_lookup_verify_and_session) ... FAIL
test_message_session_access_and_atomic_insert (__main__.EventLoopTests.test_message_session_access_and_atomic_insert) ... FAIL
test_openapi_does_not_read_file_in_request (__main__.EventLoopTests.test_openapi_does_not_read_file_in_request) ... Unhandled error: GET /openapi.json request_id=d0a4d4c5-7457-4369-a991-11787d1824fb
FAIL
test_registration_hash_and_insert (__main__.EventLoopTests.test_registration_hash_and_insert) ... FAIL
test_thread_exception_preserves_error_contract (__main__.EventLoopTests.test_thread_exception_preserves_error_contract) ... FAIL

======================================================================
FAIL: test_chat_session_and_transaction (__main__.EventLoopTests.test_chat_session_and_transaction)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 112, in _callMaybeAsync
    return self._asyncioRunner.run(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "<stdin>", line 97, in test_chat_session_and_transaction
  File "<stdin>", line 70, in assert_off_loop
AssertionError: 281473871163424 unexpectedly found in [281473871163424] : find_session_user_cached blocked the event loop

======================================================================
FAIL: test_lifecycle_pool_open_and_close (__main__.EventLoopTests.test_lifecycle_pool_open_and_close)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 112, in _callMaybeAsync
    return self._asyncioRunner.run(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "<stdin>", line 112, in test_lifecycle_pool_open_and_close
  File "<stdin>", line 70, in assert_off_loop
AssertionError: 281473871163424 unexpectedly found in [281473871163424] : open_database blocked the event loop

======================================================================
FAIL: test_login_lookup_verify_and_session (__main__.EventLoopTests.test_login_lookup_verify_and_session)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 112, in _callMaybeAsync
    return self._asyncioRunner.run(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "<stdin>", line 90, in test_login_lookup_verify_and_session
  File "<stdin>", line 70, in assert_off_loop
AssertionError: 281473871163424 unexpectedly found in [281473871163424] : find_user_by_username blocked the event loop

======================================================================
FAIL: test_message_session_access_and_atomic_insert (__main__.EventLoopTests.test_message_session_access_and_atomic_insert)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 112, in _callMaybeAsync
    return self._asyncioRunner.run(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "<stdin>", line 105, in test_message_session_access_and_atomic_insert
  File "<stdin>", line 70, in assert_off_loop
AssertionError: 281473871163424 unexpectedly found in [281473871163424, 281473871163424] : find_session_user_cached blocked the event loop

======================================================================
FAIL: test_openapi_does_not_read_file_in_request (__main__.EventLoopTests.test_openapi_does_not_read_file_in_request)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 112, in _callMaybeAsync
    return self._asyncioRunner.run(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "<stdin>", line 117, in test_openapi_does_not_read_file_in_request
AssertionError: 500 != 200

======================================================================
FAIL: test_registration_hash_and_insert (__main__.EventLoopTests.test_registration_hash_and_insert)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 112, in _callMaybeAsync
    return self._asyncioRunner.run(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "<stdin>", line 79, in test_registration_hash_and_insert
  File "<stdin>", line 70, in assert_off_loop
AssertionError: 281473871163424 unexpectedly found in [281473871163424] : hash_password blocked the event loop

======================================================================
FAIL: test_thread_exception_preserves_error_contract (__main__.EventLoopTests.test_thread_exception_preserves_error_contract)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/unittest/async_case.py", line 112, in _callMaybeAsync
    return self._asyncioRunner.run(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "<stdin>", line 128, in test_thread_exception_preserves_error_contract
  File "<stdin>", line 70, in assert_off_loop
AssertionError: 281473871163424 unexpectedly found in [281473871163424] : hash_password blocked the event loop

----------------------------------------------------------------------
Ran 7 tests in 0.051s

FAILED (failures=7)
exit status 1
