Remove "unittest" package from mock SDK, include it in test data instead

This commit is contained in:
Mikhail Golubev
2014-12-03 18:57:14 +03:00
parent 51e0527f70
commit 359d047a76
8 changed files with 9 additions and 7 deletions
@@ -1 +0,0 @@
from .case import TestCase
@@ -1,2 +0,0 @@
class TestCase(object):
pass
@@ -1 +0,0 @@
from .case import TestCase
@@ -1,2 +0,0 @@
class TestCase(object):
pass
@@ -75,7 +75,7 @@ public class PyPep8NamingInspectionTest extends PyTestCase {
}
public void testTest() {
doTest();
doMultiFileTest();
}
public void testOverrideFromModule() {
@@ -90,4 +90,12 @@ public class PyPep8NamingInspectionTest extends PyTestCase {
myFixture.enableInspections(PyPep8NamingInspection.class);
myFixture.checkHighlighting(false, false, true);
}
private void doMultiFileTest() {
myFixture.copyDirectoryToProject("inspections/PyPep8NamingInspection/" + getTestName(true), "");
myFixture.configureByFile("a.py");
myFixture.enableInspections(PyPep8NamingInspection.class);
myFixture.checkHighlighting(false, false, true);
}
}