Pytest Import Error when trying to import my class

Solution 1:

You are missing an empty __init__.py in your folder, which is needed to designate it as a Python package, and therefore be able to import modules from it.

See https://stackoverflow.com/a/4116384 for more details.