mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
passing test for PY-4947
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Test:
|
||||
def execQueries(self, queries):
|
||||
pass
|
||||
|
||||
def someFunction(self):
|
||||
self.execQueries("SELECT field1, field2, field3 FROM %s WHERE 1=1 AND " \
|
||||
"field")
|
||||
@@ -0,0 +1,6 @@
|
||||
class Test:
|
||||
def execQueries(self, queries):
|
||||
pass
|
||||
|
||||
def someFunction(self):
|
||||
self.execQueries("SELECT field1, field2, field3 FROM %s WHERE 1=1<caret>")
|
||||
@@ -45,6 +45,10 @@ public class PyWrapTest extends PyTestCase {
|
||||
doTest("=None");
|
||||
}
|
||||
|
||||
public void testWrapStringLiteral() { // PY-4947
|
||||
doTest(" AND field");
|
||||
}
|
||||
|
||||
private void doTest(final String textToType) {
|
||||
myFixture.configureByFile("wrap/" + getTestName(false) + ".py");
|
||||
myFixture.type(textToType);
|
||||
|
||||
Reference in New Issue
Block a user