Guidance with testing reusable app the way Django does

9 views
Skip to first unread message

Ramez Ashraf

unread,
Nov 6, 2017, 7:13:12 AM11/6/17
to Django users
Hello dear developers,

I need your help in creating a test suit similar to Django's in the sense that tests are in separate folders (modules), each might contain models of their own.

I cheated from the runtests.py Django have, edited out some warning and so.
The problem is that the apps are not "migrated" and the test fail not finding `auth_user` , and if the migration folder exists the test fails not finding the database table.

What might be wrong here ?!

Thank you in advance.
Reply all
Reply to author
Forward
0 new messages