[svn r58112] helper to add the required option
--HG-- branch : trunk
This commit is contained in:
parent
89814706bc
commit
a46929a02a
|
@ -1,6 +1,14 @@
|
||||||
|
import py
|
||||||
from py.__.test.session import Session
|
from py.__.test.session import Session
|
||||||
from py.__.test import event
|
from py.__.test import event
|
||||||
|
|
||||||
|
def add_filelog_option():
|
||||||
|
py.test.config.addoptions("filelog session options "
|
||||||
|
"(use --session=FileLogSession)",
|
||||||
|
py.test.config.Option('--filelog', action="store",
|
||||||
|
default=None, dest="filelog",
|
||||||
|
help="path for filelog session logging"))
|
||||||
|
|
||||||
|
|
||||||
def generic_path(item):
|
def generic_path(item):
|
||||||
chain = item.listchain()
|
chain = item.listchain()
|
||||||
|
|
Loading…
Reference in New Issue