Seems that unittest doesn't support async testing. we should use pytest-asyncio
========================================================== warnings summary ==========================================================
tests/e2e_test.py::TestEndToEnd::test_dune_to_local_job_run
/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/unittest/case.py:606: RuntimeWarning: coroutine 'TestEndToEnd.test_dune_to_local_job_run' was never awaited
if method() is not None:
Enable tracemalloc to get traceback where the object was allocated.
See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
tests/e2e_test.py::TestEndToEnd::test_dune_to_local_job_run
/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestEndToEnd.test_dune_to_local_job_run of <tests.e2e_test.TestEndToEnd testMethod=test_dune_to_local_job_run>>)
return self.run(*args, **kwds)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Seems that unittest doesn't support async testing. we should use pytest-asyncio