aid for testdata discoverability

This commit is contained in:
Dmitry Jemerov
2010-01-21 14:33:48 +03:00
parent ca0922a1f6
commit 72374466e8
@@ -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/";
}
}