from sqlalchemy.schema import *
import sqlalchemy.engine
-engine = sqlalchemy.engine.create_engine('sqlite', ':memory:', {}, echo = True)
+#engine = sqlalchemy.engine.create_engine('sqlite', ':memory:', {}, echo = True)
+engine = sqlalchemy.engine.create_engine('postgres', {'database':'test', 'host':'127.0.0.1', 'user':'scott', 'password':'tiger'}, echo=True)
"""create the treenodes table. This is ia basic adjacency list model table.
One additional column, "root_node_id", references a "root node" row and is used
print "Creating Tree Table:"
print "----------------------------"
-treedata.create()
-trees.create()
+#treedata.create()
+#trees.create()
testbase.echo = False
-def suite():
- modules_to_test = ('attributes', 'historyarray', 'pool', 'engines', 'query', 'types', 'mapper', 'objectstore')
- alltests = unittest.TestSuite()
- for module in map(__import__, modules_to_test):
- alltests.addTest(unittest.findTestCases(module))
- return alltests
+
+modules_to_test = ('attributes', 'historyarray', 'pool', 'engines', 'query', 'types', 'mapper', 'objectstore')
if __name__ == '__main__':
testbase.runTests(suite())