change the defaults from a tuple to a list so I can use config.addinivalue_line("norecursedirs", "...") to append new options in my own plugins
--HG-- branch : dgilcrease/change-defaults-from-a-tuple-to-a-list-1412285169250
This commit is contained in:
parent
9e549a1acf
commit
fd2572a39d
|
@ -24,7 +24,7 @@ name_re = re.compile("^[a-zA-Z_]\w*$")
|
|||
|
||||
def pytest_addoption(parser):
|
||||
parser.addini("norecursedirs", "directory patterns to avoid for recursion",
|
||||
type="args", default=('.*', 'CVS', '_darcs', '{arch}', '*.egg'))
|
||||
type="args", default=['.*', 'CVS', '_darcs', '{arch}', '*.egg'])
|
||||
#parser.addini("dirpatterns",
|
||||
# "patterns specifying possible locations of test files",
|
||||
# type="linelist", default=["**/test_*.txt",
|
||||
|
|
Loading…
Reference in New Issue