I recently figured out how to import modules for unittesting in python. As a solution to this, I use:
sys.path.append(os.path.abspath(os.path.join(os.path.di
I would recommend trying out $ pip install . in your source directory. This will install your own packages for your project.
$ pip install .