move config to _config

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-10-10 13:48:49 +02:00
parent 51bb0f53c5
commit 32fce34825
11 changed files with 41 additions and 33 deletions

View File

@@ -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)