test_ok2/testing/example_scripts/tmpdir/tmpdir_fixture.py

8 lines
148 B
Python
Raw Normal View History

import pytest
@pytest.mark.parametrize("a", [r"qwe/\abc"])
def test_fixture(tmpdir, a):
tmpdir.check(dir=1)
assert tmpdir.listdir() == []