test fix (need to have real unittest now)

This commit is contained in:
Ilya.Kazakevich
2017-07-06 00:17:53 +03:00
parent dfc22bddce
commit 024a70a27f
2 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
class TestCase(object):
pass

View File

@@ -68,6 +68,7 @@ public class PyAttributeOutsideInitInspectionTest extends PyTestCase {
}
private void doTest() {
myFixture.configureByFile("unittest.py");
myFixture.configureByFile("inspections/PyAttributeOutsideInitInspection/" + getTestName(true) + ".py");
myFixture.enableInspections(PyAttributeOutsideInitInspection.class);
myFixture.checkHighlighting(false, false, true);