I have the `[pylint].source_plugins` in a separate...
# general
p
I have the
[pylint].source_plugins
in a separate resolve from the rest of the code. That has been working very nicely. When I run pylint, the venv includes pylint, the source_plugins, and the code that pylint is inspecting. So far so good. But, now I want to test code in my source_plugins directory, and 💥. For my “fixtures” I have the test write a dummy python file from a string to a temporary directory. That dummy file imports a module that is in a different resolve. If I were running pylint, this module would be part of the code that pylint inspects, which works just fine. For testing, how do I make that module available to import during the test?
h
resolve=parametrize("resolve1", "resolve2")
on the target that defines that fixture