Closed ElSnoMan closed 3 years ago
I get the following error when running poetry run poe test
tests/test_account_service.py:4: in <module>
from tests import account_service
tests/account_service.py:5: in <module>
from models.account_model import Nate, Token, User
E ModuleNotFoundError: No module named 'models'
Steps I used to get the project to my machine
poetry install
poetry run poe test
It seems this models directory is being ignored in your .gitignore
. If I comment out all of account_service.py
and test_account_service.py
and run poetry run poe test
everything works.
Looks like the error I listed above was fixed with pull request #40
test_account_service.py
andaccount_service.py
and their correspondingmodels
folder are just examples. We should move them into a "example" folder so that's clear.