def test_get_row_inexistent(self): try: result = breezedb.get_row(10, 'table_1', db) self.assertEquals(False, True) except: self.assertTrue(True, True)
def test_get_row(self): result = breezedb.get_row(0, 'table_1', db) self.assertEquals([0, u'Name1', u'Name2'], result)