adapt to pytest trunk changes - config moved to plugin

This commit is contained in:
holger krekel
2010-10-12 15:00:37 +02:00
parent d83af5fdcd
commit 7b73e081fe
5 changed files with 10 additions and 47 deletions

View File

@@ -123,7 +123,8 @@ def init_slave_session(channel, args, option_dict):
sys.path[:] = newpaths
#fullwidth, hasmarkup = channel.receive()
config = py.test.config
from pytest.plugin.config import Config
config = Config()
config.option.__dict__.update(option_dict)
config._preparse(args)
config.args = args