Beispiel #1
0
	def test_end_to_end(self):
		d = get_all_dicts()
		c = Csv()
		text = c.outbound([d[0]])
		s = Sqlite()
		s.outbound(ru, text)
		r = s.inbound(ru)
Beispiel #2
0
	def test_table_insert(self):
		s = Sqlite()
		c = Csv()
		d = get_all_dicts()
		text = c.outbound([d[0]])
		s.outbound(ru, text)
		conn = sqlite3.connect(ru.get_full_path())
		results = conn.execute("SELECT * FROM %s" % ru.frag)
		conn.close()