ElSnoMan / pyclinic

A library to test services in Python
MIT License
5 stars 1 forks source link

Move example files to an example folder #36

Closed ElSnoMan closed 3 years ago

ElSnoMan commented 3 years ago

test_account_service.py and account_service.py and their corresponding models folder are just examples. We should move them into a "example" folder so that's clear.

gleekzorp commented 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

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.

gleekzorp commented 3 years ago

Looks like the error I listed above was fixed with pull request #40