DEV Community

Discussion on: Setting up Django REST API with custom user model and tests

ksaaskil profile image
Kimmo Sääskilahti Author

Thanks for raising the issue! Have you checked your directory structure and pytest.ini exactly match the one in the accompanying repository? The github workflow seems to work fine 🤔

codebyline profile image
Yumei Leventhal

Thanks for responding! The error must have been on my end. I moved 'pytest.ini' in and out of the 'tests' folder and now everything works. Thank you very much!