From: Michael Trier Date: Tue, 28 Jul 2009 01:20:52 +0000 (+0000) Subject: Corrected examples tests. I was running from ./test instead of root. X-Git-Tag: rel_0_5_6~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a67cb17c3c3298b1561e77c86358d3960d33259;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Corrected examples tests. I was running from ./test instead of root. --- diff --git a/setup.cfg b/setup.cfg index 25ee974dba..010e5c1c04 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,12 @@ -[egg_info] -tag_build = dev -tag_svn_revision = true - [nosetests] -with-sqlalchemy = true \ No newline at end of file +with-sqlalchemy=True +#with-doctest=1 +#doctest-extension=test +#with-spec=1 +#spec-color=1 +# verbosity=1 +# detailed-errors=1 +# with-coverage=1 +# cover-package=nose +# debug=nose.loader + diff --git a/test/ex/test_examples.py b/test/ex/test_examples.py index c31b21e765..411c44a0b3 100644 --- a/test/ex/test_examples.py +++ b/test/ex/test_examples.py @@ -32,7 +32,7 @@ def filename_to_module_name(fn): return re.sub('\.py$', '', fn.replace(os.sep, '.')) def find_modules(*args): - for fn in find_py_files(args or ('../examples',)): + for fn in find_py_files(args or ('./examples',)): yield filename_to_module_name(fn) def check_import(module):