2007-01-24 22:24:01 +08:00
|
|
|
import py
|
|
|
|
|
2009-02-27 18:18:27 +08:00
|
|
|
class ConftestPlugin:
|
|
|
|
def pytest_addoption(self, parser):
|
|
|
|
parser.addoption('--webcheck',
|
2007-01-24 22:24:01 +08:00
|
|
|
action="store_true", dest="webcheck", default=False,
|
|
|
|
help="run XHTML validation tests"
|
2009-02-27 18:18:27 +08:00
|
|
|
)
|