Example #1
0
def test_db():
	"""test the db operation."""
	myconfig=DBConfig()
	myconfig.connect_db()
	values=['www.aaa.com','555','www.bbb.com']
	myconfig.insert_db(values)
	print myconfig.select_db()
	myconfig.deldata_db()
	myconfig.close_db()