Oddly, some of the tests did find the files, while others didn't. I guess I should organize it all and post it as a question in SO. Thanks so far. You were all very helpful.
@roganjosh perhaps I misunderstood but, the opt traceback is from the local environment (Pycharm). In general the mock-files are not created on the fly; they exist alongside the rest of the code (containing the unit-tests) and are committed together with it.
@IlyaEgorov you are right. .resolve(strict) raises an error in the pipelines. FileNotFoundError: [Errno 2] No such file or directory: 'tests/group_a while locally is OK.
@roganjosh in my short Azure experience, I've found a lot of bugs and lack of features (from constant timeouts on loading their portal Defender for Cloud to no multiline logging to Container App replicas max set to 1000 by default!!).
For example my task processes a user request to fetch an item that doesn't exist. Should I raise? The issue is that this produces a lot of repetitive logs in Azure (and it costs a lot of $)
Also, I was wondering why doesn't DRF have something to import instead of using magic strings (list, retrieve, etc) when checking the permissions: if view.action in ('list', 'retrieve'). E.g. from drf.actions import LIST where LIST = 'list'
Interestingly enough I've heard from other devs that they rarely see PUT, and only see PATCH (instead of PUT) in some APIs. I guess it varies quite a bit per project.