Permalink
Browse files

Fix super dumb mistake causing all test runs to hit tests folder.

This causes integration level tests to run both test suites.

Oops!
  • Loading branch information...
1 parent 2e6da1a commit 590494bf9d840cb6353260392b94700656db5d47 @bitprophet bitprophet committed Apr 10, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 fabfile/__init__.py
View
@@ -19,7 +19,10 @@ def test(args=None):
Specify string argument ``args`` for additional args to ``nosetests``.
"""
- default_args = "-sv --with-doctest --nologcapture --with-color tests"
+ # Default to explicitly targeting the 'tests' folder, but only if nothing
+ # is being overridden.
+ tests = "" if args else " tests"
+ default_args = "-sv --with-doctest --nologcapture --with-color %s" % tests
default_args += (" " + args) if args else ""
nose.core.run_exit(argv=[''] + default_args.split())

0 comments on commit 590494b

Please sign in to comment.