Use a subdirectory in the TEMP directory to speed up tmpdir creation

Fix #105
This commit is contained in:
Bruno Oliveira
2015-07-15 20:03:58 -03:00
parent 8f4f2c665d
commit 0f52856f99
7 changed files with 109 additions and 33 deletions

View File

@@ -555,7 +555,8 @@ class TestRequestBasic:
pass
def test_function(request, farg):
assert set(get_public_names(request.fixturenames)) == \
set(["tmpdir", "sarg", "arg1", "request", "farg"])
set(["tmpdir", "sarg", "arg1", "request", "farg",
"tmpdir_factory"])
""")
reprec = testdir.inline_run()
reprec.assertoutcome(passed=1)