Commit ad891772 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Testing helpers

parent f3494350
...@@ -208,15 +208,23 @@ FAILING = [ ...@@ -208,15 +208,23 @@ FAILING = [
'test.sql.test_unicode' 'test.sql.test_unicode'
] ]
# MODULES_TO_TEST = ['test.orm.test_bulk']
# MODULES_TO_TEST = FAILING[:1]
passed = [] passed = []
failed = [] failed = []
for fn in test_files: for run_idx in xrange(1):
for fn in test_files:
assert fn.startswith(TEST_DIR + '/') assert fn.startswith(TEST_DIR + '/')
assert fn.endswith(".py") assert fn.endswith(".py")
mname = fn[len(SQLALCHEMY_DIR) + 1:-3].replace('/', '.') mname = fn[len(SQLALCHEMY_DIR) + 1:-3].replace('/', '.')
if mname not in MODULES_TO_TEST: if mname not in MODULES_TO_TEST:
continue continue
if mname == 'test.sql.test_functions' and run_idx > 0:
continue
print '=' * 50 print '=' * 50
print mname print mname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment