Build up test cases a bit

This commit is contained in:
Friedrich Lindenberg
2013-04-01 19:46:17 +02:00
parent 2c17baa6a3
commit 8a97902762
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class Table(object):
self.database.engine.execute(q)
def _ensure_columns(self, row, types={}):
for column in set(row.keys()) - set(self.columns.keys()):
for column in set(row.keys()) - set(self.table.columns.keys()):
if column in types:
_type = types[column]
else: