Beispiel #1
0
 def setUp(self):
     self.table = yoursql.Table('testcases/student.csv')
     self.table[45280742]['gpa'] = 3.99
Beispiel #2
0
 def testInit(self):
     self.table.export('new_student.csv')
     new_table = yoursql.Table('new_student.csv', primary_key='id')
     self.assertEqual(new_table[45280742]['gpa'], 3.99)
Beispiel #3
0
 def setUp(self):
     self.table = yoursql.Table('testcases/student.csv')