diff options
Diffstat (limited to 'nose')
-rw-r--r-- | nose/suite.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nose/suite.py b/nose/suite.py index cf6727b..65924d2 100644 --- a/nose/suite.py +++ b/nose/suite.py @@ -198,6 +198,11 @@ class ContextSuite(LazySuite): 'setUpPackage') + names try_run(context, names) + def shortDescription(self): + if self.context is None: + return "test suite" + return "test suite for %s" % self.context + def tearDown(self): log.debug('context teardown') if not self.was_setup or self.was_torndown: |