]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Corrected examples tests. I was running from ./test instead of root.
authorMichael Trier <mtrier@gmail.com>
Tue, 28 Jul 2009 01:20:52 +0000 (01:20 +0000)
committerMichael Trier <mtrier@gmail.com>
Tue, 28 Jul 2009 01:20:52 +0000 (01:20 +0000)
setup.cfg
test/ex/test_examples.py

index 25ee974dba0446e4e15604bb1b2d3857c6d0ff69..010e5c1c045c6f58f18b2bad7f280605caa00bb2 100644 (file)
--- 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
+
index c31b21e7659f835121a2ce51b028a28a877f2d98..411c44a0b31547f86a177b6e95fe76c28c3d3add 100644 (file)
@@ -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):