[svn r58112] helper to add the required option

--HG--
branch : trunk
This commit is contained in:
pedronis 2008-09-13 16:46:15 +02:00
parent 89814706bc
commit a46929a02a
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,14 @@
import py
from py.__.test.session import Session
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):
chain = item.listchain()