From 72374466e83c80d340f3e36e234daf488d13f6ef Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 21 Jan 2010 14:24:44 +0300 Subject: [PATCH] aid for testdata discoverability --- .../testSrc/com/jetbrains/python/PythonInspectionsTest.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python/testSrc/com/jetbrains/python/PythonInspectionsTest.java b/python/testSrc/com/jetbrains/python/PythonInspectionsTest.java index 7d66786f0b8b..2d471b627174 100644 --- a/python/testSrc/com/jetbrains/python/PythonInspectionsTest.java +++ b/python/testSrc/com/jetbrains/python/PythonInspectionsTest.java @@ -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/"; - } }