[New-bugs-announce] [issue5989] unittest.TestLoader.loadTestsFromNames should accept module / class name

Michael Foord report at bugs.python.org
Sun May 10 22:04:20 CEST 2009


New submission from Michael Foord <michael at voidspace.org.uk>:

It would be really nice if unittest.TestLoader.loadTestsFromNames
accepted module and class names.

My main motivation for that is so that I can do:

    python -m unittest module_name

There is no backwards compatibility issue as currently this doesn't work...

Really easy to add.

----------
assignee: michael.foord
components: Library (Lib)
messages: 87540
nosy: michael.foord
severity: normal
status: open
title: unittest.TestLoader.loadTestsFromNames should accept module / class name
type: feature request
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5989>
_______________________________________


More information about the New-bugs-announce mailing list