Skip to content

Commit d5f7b4c

Browse files
committed
add unit test
1 parent 2db157a commit d5f7b4c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/sa/test_sa_connection.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,13 @@ def go():
290290
[(2, 'third'), (3, 'forth')])
291291
self.loop.run_until_complete(go())
292292

293+
def test_raw_select_with_wildcard(self):
294+
@asyncio.coroutine
295+
def go():
296+
conn = yield from self.connect()
297+
yield from conn.execute('SELECT * FROM sa_tbl WHERE name LIKE "%test%"')
298+
self.loop.run_until_complete(go())
299+
293300
def test_delete(self):
294301
@asyncio.coroutine
295302
def go():

0 commit comments

Comments
 (0)