Hi, I'm trying to get approvaltests to run in an async environment using the IsolatedAsyncioTestCase as base class. Instead of linking to the local repository the results are placed in a different directory:
home/username/.local/share/uv/python/cpython3.12.0-linux-x86_64-gnu/lib/python3.12/unittest/SomeTests._callMaybeAsync.received.txt
Any tips on how to get it to point at the current dir and function instead?
Example code:
from unittest import IsolatedAsyncioTestCase
from approvaltests import verify
class SomeTests(IsolatedAsyncioTestCase):
async def test_example(self):
verify("something")
Hi, I'm trying to get approvaltests to run in an async environment using the IsolatedAsyncioTestCase as base class. Instead of linking to the local repository the results are placed in a different directory:
home/username/.local/share/uv/python/cpython3.12.0-linux-x86_64-gnu/lib/python3.12/unittest/SomeTests._callMaybeAsync.received.txt
Any tips on how to get it to point at the current dir and function instead?
Example code: