Issue 36723: Unittest Discovery for namespace subpackages dot notation fails (original) (raw)
Issue36723
Created on 2019-04-25 19:04 by mrwaffles, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg340857 - (view) | Author: Jonny Fuller (mrwaffles) | Date: 2019-04-25 19:04 |
Hi friends, I noticed strange behavior involving unittest discovery with namespace packages. Using dot notation to discover test packages within a namespace package will fail, but will succeed when using path notation. It feels awkward that dot path would fail but normal path would succeed. Is this the desired behavior? I created a demo repo and fully documented this odd behavior here https://github.com/JonnyWaffles/djangonamespacetestfail. | ||
msg349971 - (view) | Author: Roger Gammans (rgammans) | Date: 2019-08-19 21:40 |
I think this is a duplicate of one (or both) of 35617, or 23882 . Both of those have unmerged proposed fixes. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:14 | admin | set | github: 80904 |
2020-07-19 04:37:03 | methane | set | status: open -> closedsuperseder: unittest discovery doesn't detect namespace packages when given no parametersresolution: duplicatestage: resolved |
2020-07-19 04:05:09 | xtreak | set | nosy: + methane |
2019-10-28 20:48:40 | pconnell | set | nosy: + pconnell |
2019-08-19 21:40:35 | rgammans | set | nosy: + rgammansmessages: + |
2019-04-25 19:12:36 | eric.smith | set | nosy: + eric.smith |
2019-04-25 19:04:03 | mrwaffles | create |