test_ok2/testing/example_scripts/tmpdir/tmp_path_fixture.py

8 lines
163 B
Python

import pytest
@pytest.mark.parametrize("a", [r"qwe/\abc"])
def test_fixture(tmp_path, a):
assert tmp_path.is_dir()
assert list(tmp_path.iterdir()) == []