Today I tried to work in some exercises and I created two files, the '~/bankocr/bank.py' and '~/bankocr/tests/test_working.py'
And when I tried to execute 'pytest' in the console I have the next error:
ImportError while importing test module '~/bankocr/tests/test_bank.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bank.py:2: in <module>
from bank import size_of
E ImportError: No module named bank
I didn't see the difference in the files using an IDE to create a new project, but still, one works and the other don't.
Did I forget something?