Default filter: __test__

This plugin implements startTestRun(), which excludes all test objects that define a __test__ attribute that evaluates to False.

Plugin class reference: DunderTestFilter

class nose2.plugins.dundertest.DunderTestFilter(*args, **kwargs)[source]

Exclude all tests defining a __test__ attribute that evaluates to False.

startTestRun(event)[source]

Recurse event.suite and remove all test suites and test cases that define a __test__ attribute that evaluates to False.