fixed tests since we don't propose to make static decorated method

This commit is contained in:
Ekaterina Tuzova
2013-12-02 21:25:20 +04:00
parent 5fcbea0c58
commit ce7c8cdc46
5 changed files with 0 additions and 50 deletions

View File

@@ -1,10 +0,0 @@
__author__ = 'ktisha'
def foo(x):
return x
class A():
@accepts(int, int)
def my_<caret>method(self):
print "Smth"

View File

@@ -1,11 +0,0 @@
__author__ = 'ktisha'
def foo(x):
return x
class A():
@staticmethod
@accepts(int, int)
def my_<caret>method():
print "Smth"

View File

@@ -1,10 +0,0 @@
__author__ = 'ktisha'
def foo(x):
return x
class A():
@my_deco
def my_<caret>method(self):
print "Smth"

View File

@@ -1,11 +0,0 @@
__author__ = 'ktisha'
def foo(x):
return x
class A():
@staticmethod
@my_deco
def my_method():
print "Smth"

View File

@@ -36,14 +36,6 @@ public class PyMakeMethodStaticQuickFixTest extends PyQuickFixTestCase {
doQuickFixTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.static"));
}
public void testFunctionWithDeco() {
doQuickFixTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.static"));
}
public void testDecoWithParams() {
doQuickFixTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.static"));
}
public void testNoSelf() {
doQuickFixTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.static"));
}