void () { final String testName = getTestName(true); final String inspectionName = getInspectionClass().getSimpleName(); myFixture.configureByFile("inspections/" + inspectionName + "/" + testName + ".py"); myFixture.enableInspections(getInspectionClass()); final String attrQualifiedName = "inspections." + inspectionName + "." + testName + ".A.foo"; String quickFixName = PyBundle.message("QFIX.ignore.unresolved.reference.0", attrQualifiedName); final IntentionAction intentionAction = myFixture.findSingleIntention(quickFixName); assertNotNull(intentionAction); myFixture.launchAction(intentionAction); myFixture.checkHighlighting(isWarning(), isInfo(), isWeakWarning()); }