Commit 6c78f553 authored by Thomas Heller's avatar Thomas Heller

Oops, get_tests may be called with 3 arguments.

parent 7d9e7215
...@@ -50,7 +50,7 @@ def find_package_modules(package, mask): ...@@ -50,7 +50,7 @@ def find_package_modules(package, mask):
if fnmatch.fnmatchcase(fnm, mask): if fnmatch.fnmatchcase(fnm, mask):
yield "%s.%s" % (package.__name__, os.path.splitext(fnm)[0]) yield "%s.%s" % (package.__name__, os.path.splitext(fnm)[0])
def get_tests(package, mask, verbosity, exclude): def get_tests(package, mask, verbosity, exclude=()):
"""Return a list of skipped test modules, and a list of test cases.""" """Return a list of skipped test modules, and a list of test cases."""
tests = [] tests = []
skipped = [] skipped = []
......
...@@ -8,6 +8,8 @@ Command line flags: ...@@ -8,6 +8,8 @@ Command line flags:
Add resources to the lits of allowed resources. '*' allows all Add resources to the lits of allowed resources. '*' allows all
resources. resources.
-v verbose mode: print the test currently executed -v verbose mode: print the test currently executed
-x<test1[,test2...]>
Exclude specified tests.
mask mask to select filenames containing testcases, wildcards allowed mask mask to select filenames containing testcases, wildcards allowed
""" """
import sys import sys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment