id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 30403,Test namespace packages discover fails to load module.,Jonny Fuller,nobody,"Hello friends. Test discovery with namespaced [https://packaging.python.org/guides/packaging-namespace-packages/ packages] fails when selecting a subpackage because of the way unittest discover evaluates paths. A reproducible example repository and full documentation can be found [https://github.com/JonnyWaffles/djangonamespacetestfail here]. However, if you test the entire namespace, or a specific test module, everything works. I'm not sure what the solution is, but it may have something to do with how the test runner calls discover. I tried the same situation with just the normal Python unittest module discovery and it still occurs. Looks like this may be a Python problem and not a Django problem.",Bug,closed,Testing framework,2.2,Normal,invalid,namespace packages,,Unreviewed,0,0,0,0,0,0