def test94(self): pa = CPDTable() for i in range(5,13): pa.update(i, appointment_id=str(i+200)) where = pa.singlewhere(appointment_id='200') rows = pa.selectall(whereStr=where) for row in rows: print row
def test91(self): ''' Selete all data ''' pa = CPDTable() rows = pa.selectall() n = len(rows) assert n == 8, "Need to have 8 rows "