mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
aid for testdata discoverability
This commit is contained in:
@@ -17,7 +17,7 @@ public class PythonInspectionsTest extends PyLightFixtureTestCase {
|
||||
}
|
||||
|
||||
private void doTest(String testName, LocalInspectionTool localInspectionTool) throws Throwable {
|
||||
myFixture.testInspection(testName, new LocalInspectionToolWrapper(localInspectionTool));
|
||||
myFixture.testInspection("inspections/" + testName, new LocalInspectionToolWrapper(localInspectionTool));
|
||||
}
|
||||
|
||||
public void testPyMethodFirstArgAssignmentInspection() throws Throwable {
|
||||
@@ -71,8 +71,4 @@ public class PythonInspectionsTest extends PyLightFixtureTestCase {
|
||||
LocalInspectionTool inspection = new PyTrailingSemicolonInspection();
|
||||
doTest(getTestName(false), inspection);
|
||||
}
|
||||
|
||||
protected String getTestDataPath() {
|
||||
return PythonTestUtil.getTestDataPath() + "/inspections/";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user