[svn r38484] make config.option override any conftest provided value.

--HG--
branch : trunk
This commit is contained in:
hpk
2007-02-11 18:08:13 +01:00
parent 50f9f1a410
commit bda58e9862
3 changed files with 4 additions and 10 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ def setup_module(mod):
mod.tmpdir = tmpdir = py.test.ensuretemp(mod.__name__)
# to avoid rsyncing
config = py.test.config._reparse([tmpdir])
config._overwrite('dist_taskspernode', 10)
config.option.dist_taskspernode = 10
mod.rootcol = config._getcollector(tmpdir)
class DummyGateway(object):