diff options
author | Jason Pellerin <jpellerin@gmail.com> | 2007-06-26 20:59:10 +0000 |
---|---|---|
committer | Jason Pellerin <jpellerin@gmail.com> | 2007-06-26 20:59:10 +0000 |
commit | bd16fcb77ee5b88e2c90a8ae54f8fa8f8f653e9f (patch) | |
tree | 90c8eab8378ff34e9952e24313bc73d971177277 /nose/loader.py | |
parent | 3791584beab94fcd711c108a737c06600771a1fb (diff) | |
download | nose-bd16fcb77ee5b88e2c90a8ae54f8fa8f8f653e9f.tar.gz |
More work on doc generation: added module attributes
Diffstat (limited to 'nose/loader.py')
-rw-r--r-- | nose/loader.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/nose/loader.py b/nose/loader.py index 0e90a32..4ea3873 100644 --- a/nose/loader.py +++ b/nose/loader.py @@ -35,6 +35,12 @@ class TestLoader(unittest.TestLoader): * Support tests that are generators * Support easy extensions of or changes to that behavior through plugins """ + config = None + importer = None + workingDir = None + selector = None + suiteClass = None + def __init__(self, config=None, importer=None, workingDir=None, selector=None): """Initialize a test loader. @@ -44,14 +50,14 @@ class TestLoader(unittest.TestLoader): * config: provide a `nose.config.Config`_ or other config class instance; if not provided a `nose.config.Config` with default values is used. - * importer: provide an importer instance that implenents + * importer: provide an importer instance that implements `importFromPath`. If not provided, a - `nose.importer.Importer` is used. + `nose.importer.Importer`_ is used. * workingDir: the directory to which file and module names are relative. If not provided, assumed to be the current working directory. * selector: a selector class. If not provided, a - `nose.selector.Selector` is used. + `nose.selector.Selector`_ is used. """ if config is None: config = Config() |