move config to _config
--HG-- branch : trunk
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import py
|
||||
|
||||
from pytest.plugin.pytest_tmpdir import pytest_funcarg__tmpdir
|
||||
from pytest.plugin.pytest_python import FuncargRequest
|
||||
|
||||
@@ -7,3 +9,11 @@ def test_funcarg(testdir):
|
||||
assert p.check()
|
||||
bn = p.basename.strip("0123456789")
|
||||
assert bn.endswith("test_func")
|
||||
|
||||
def test_ensuretemp(recwarn):
|
||||
#py.test.deprecated_call(py.test.ensuretemp, 'hello')
|
||||
d1 = py.test.ensuretemp('hello')
|
||||
d2 = py.test.ensuretemp('hello')
|
||||
assert d1 == d2
|
||||
assert d1.check(dir=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user