Reputation: 11590
I have my python modules in a folder A, but my tests in a folder B. When using coverage in Eclipse Pydev, how can I make this setup work?
Things tried:
Upvotes: 1
Views: 320
Reputation: 1120
if you want the python compiler to know where they are you can simply add their path to sys.path, is this what you are looking for?
link to sys.path in python documentation
EDIT: try using something like
sys.path.append(r"C:\path\to\tests")
Upvotes: 1