示例#1
0
 def setUp(self):
   super(TestSaveVar, self).setUp()
   sqlite.save_var("birthday","November 30, 1888")
   connection=sqlite3.connect(self.DBNAME)
   self.cursor=connection.cursor()
示例#2
0
 def savegetvar(self, var):
   sqlite.save_var("weird", var)
   self.assertEqual(sqlite.get_var("weird"), var)