I have a class named ConfigInstantiator which has some logic in setup.py.
I want to test this class.
I assume that when setup.py is called, my package is not ready yet, so moving this class into one of the module of my package doesn't work. (Am I right?)
I tried to:
import setup
in unit test, but it conflicts with PyCharm's setup.py.
Do you know if there is a way to unittest this class?