def test_string_query(self):
    value = u'test'
    query = u"SELECT '{0}'".format(value)
    with self._connect() as conn:
        cur = conn.cursor()
        cur.execute(query)
        res = cur.fetchone()
    self.assertEqual(value, res[0])
def test_string_query(self):
    value = u'test'
    query = u"SELECT '{0}'".format(value)
    with self._connect() as conn:
        cur = conn.cursor()
        cur.execute(query)
        res = cur.fetchone()
    self.assertEqual(value, res[0])