From 6a67cb17c3c3298b1561e77c86358d3960d33259 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Tue, 28 Jul 2009 01:20:52 +0000 Subject: [PATCH] Corrected examples tests. I was running from ./test instead of root. --- setup.cfg | 16 +++++++++++----- test/ex/test_examples.py | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) 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): -- 2.47.2