@Gustaf-C The issue is actually really gnarly. The test suite patches the modules dict to try and avoid having any trace of aqt or anki slip through. I'm sure there was a good reason for doing this at the time but this seems like it could be reworked to be less foot-gunny and maybe only mock these things rather than patching them like this.
@Gustaf-C The issue is actually really gnarly. The test suite patches the modules dict to try and avoid having any trace of
aqt
oranki
slip through. I'm sure there was a good reason for doing this at the time but this seems like it could be reworked to be less foot-gunny and maybe only mock these things rather than patching them like this.https://github.com/Gustaf-C/anki-chinese-support-3/blob/23093601cfdd39cbf08b09dc182f46abc89c2d6c/tests/__init__.py#L30-L43