db_opts.update(dict_['memoized_config']['db_opts'])
include_tags.update(dict_['memoized_config']['include_tags'])
exclude_tags.update(dict_['memoized_config']['exclude_tags'])
- print "EXCLUDE TAGS!!!!!", exclude_tags
def read_config():
def want_method(cls, fn):
- if fn.__module__ is None:
+ if not fn.__name__.startswith("test_"):
+ return False
+ elif fn.__module__ is None:
return False
elif fn.__module__.startswith('sqlalchemy.testing'):
return False
elif exclude_tags and hasattr(fn, '_sa_exclusion_extend'):
return fn._sa_exclusion_extend.include_test(include_tags, exclude_tags)
else:
- return fn.__name__.startswith("test_")
+ return True
def generate_sub_tests(cls, module):