add missing test assertion (closes #20080)

Patch by Vajrasky Kok.
This commit is contained in:
Benjamin Peterson 2014-02-15 13:19:59 -05:00
parent 9743b2c2b5
commit 29352c436c
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ class RowFactoryTests(unittest.TestCase):
self.con.row_factory = sqlite.Row
row = self.con.execute("select 1 as a, 2 as b").fetchone()
t = tuple(row)
self.assertEqual(t, (row['a'], row['b']))
def CheckSqliteRowAsDict(self):
"""Checks if the row object can be correctly converted to a dictionary"""