def testcaseVariationExpectedCount(modelTestcaseVariation, *args, **kwargs): try: return int( descendantAttr(modelTestcaseVariation, None, "error", "count")) except (ValueError, TypeError): pass return None
def testcaseVariationExpectedCount(modelTestcaseVariation): try: return int(descendantAttr(modelTestcaseVariation, None, "error", "count")) except (ValueError, TypeError): pass return None
def testcaseVariationExpectedSeverity(modelTestcaseVariation, *args, **kwargs): _severity = descendantAttr(modelTestcaseVariation, None, "error", "severity") if _severity is not None: return _severity.upper() return None
def testcaseVariationExpectedSeverity(modelTestcaseVariation): _severity = descendantAttr(modelTestcaseVariation, None, "error", "severity") if _severity is not None: return _severity.upper() return None