{"schema_version":1,"metadata":{"branch":"release","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:02.361425+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/7.9/packages/amd64/sqlports-7.54.tgz","source_sha256":"2de00144847bf9da3a365be982f101dbb55d591ed7a915ea94984a16ab0e0404","package_count":12059,"source_kind":"sqlports"},"package":{"name":"py3-test-datafiles-3.0.1","path":"devel/py-test-datafiles","url":"/packages/release/devel/py-test-datafiles/","comment":"create a 'tmp_path' with predefined files/directories","homepage":"https://github.com/omarkohl/pytest-datafiles","maintainer":"The OpenBSD ports mailing-list <ports@openbsd.org>","description":"pytest plugin to create a tmp_path containing a preconfigured set of files\nand/or directories.\n\nThis plugin allows you to specify one or several files/directories that are\ncopied to a temporary directory (tmp_path) before the execution of the test.\nThis means the original files are not modified and every test runs on its own\nversion of the same files.\n\nFiles/directories can be specified either as strings or as pathlib.Path objects.\n\nTo take advantage of the datafiles fixture in a test function, add datafiles as\none of the test function parameters (per usual with pytest fixtures) and\ndecorate the test function with\n@pytest.mark.datafiles(file1, file2, dir1, dir2, ...).\n\nThe datafiles variable in your test function is a pathlib.Path object (tmp_path)\nwhere the copied files are located.\nUnder OpenBSD systems this will most likely be some subdirectory of /tmp/.\n","package_architecture":"amd64","stem":"py3-test-datafiles","readme":null,"dependencies":[{"path":"devel/py-test","type":"runtime","package_spec":"","url":"/packages/release/devel/py-test/"},{"path":"lang/python/3","type":"runtime","package_spec":"","url":"/packages/release/lang/python/3/"},{"path":"lang/python/3","type":"build","package_spec":"","url":"/packages/release/lang/python/3/"},{"path":"devel/py-build","type":"build","package_spec":"","url":"/packages/release/devel/py-build/"},{"path":"devel/py-installer","type":"build","package_spec":"","url":"/packages/release/devel/py-installer/"},{"path":"devel/py-hatchling","type":"build","package_spec":"","url":"/packages/release/devel/py-hatchling/"},{"path":"devel/py-test","type":"test","package_spec":"","url":"/packages/release/devel/py-test/"},{"path":"lang/python/3","type":"test","package_spec":"","url":"/packages/release/lang/python/3/"}],"reverse_dependencies":{"count":1,"url":"/packages/data/a5/a5138d223628cf72935e8d9fa408bdb0af303f7691f3764aa16b32492a9fe354.json"},"categories":["devel","lang/python"],"flavors":[],"only_for_architectures":["aarch64","amd64","arm","i386","mips64","mips64el","powerpc","powerpc64","riscv64","alpha","hppa","sparc64"],"not_for_architectures":[]}}
