call configure hooks in reparseconfig
This commit is contained in:
parent
7cf8afef47
commit
96521ada68
|
@ -390,6 +390,8 @@ class TmpTestdir:
|
||||||
c.basetemp = py.path.local.make_numbered_dir(prefix="reparse",
|
c.basetemp = py.path.local.make_numbered_dir(prefix="reparse",
|
||||||
keep=0, rootdir=self.tmpdir, lock_timeout=None)
|
keep=0, rootdir=self.tmpdir, lock_timeout=None)
|
||||||
c.parse(args)
|
c.parse(args)
|
||||||
|
c.pluginmanager.do_configure(c)
|
||||||
|
self.request.addfinalizer(lambda: c.pluginmanager.do_unconfigure(c))
|
||||||
return c
|
return c
|
||||||
finally:
|
finally:
|
||||||
py.test.config = oldconfig
|
py.test.config = oldconfig
|
||||||
|
|
Loading…
Reference in New Issue