[Tutor] Test discovery not locating module to test
robertvstepp at gmail.com
Thu Aug 20 14:45:40 CEST 2015
On Thu, Aug 20, 2015 at 2:37 AM, Peter Otten <__peter__ at web.de> wrote:
> Assuming E:/Projects/mcm/src is in the PYTHONPATH mcm_db_mgr.py (what an
> alphabet soup!)...
Written out in full, this would be
Hmm. Perhaps just db_manager.py?
> ...is part of your db package and has to be imported with
> import db.mcm_db_mgr
> from db import mcm_db_mgr
> by modules outside the db package.
I'm bad! So clear in the morning, so obscure for me just before bed.
In my defense, I have intellectually *known* about this, but have not
used the standard library much to this point, and this is the first
time I have tried this *package* structure of a project, so that
aspect is all new to me.
More information about the Tutor