Home | History | Annotate | Download | only in unittest

Lines Matching refs:getattr

12     func = getattr(parent, attr, lambda: None)
90 if getattr(result, '_testRunEntered', False) is False:
103 if (getattr(test.__class__, '_classSetupFailed', False) or
104 getattr(result, '_moduleSetUpFailed', False)):
126 previousClass = getattr(result, '_previousTestClass', None)
132 if getattr(currentClass, "__unittest_skip__", False):
142 setUpClass = getattr(currentClass, 'setUpClass', None)
159 previousClass = getattr(result, '_previousTestClass', None)
178 setUpModule = getattr(module, 'setUpModule', None)
194 addSkip = getattr(result, 'addSkip', None)
212 tearDownModule = getattr(module, 'tearDownModule', None)
226 previousClass = getattr(result, '_previousTestClass', None)
230 if getattr(previousClass, '_classSetupFailed', False):
232 if getattr(result, '_moduleSetUpFailed', False):
234 if getattr(previousClass, "__unittest_skip__", False):
237 tearDownClass = getattr(previousClass, 'tearDownClass', None)