{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"source_kind":"sqlports"},"package":{"name":"py3-test-datafiles-3.0.1","path":"devel/py-test-datafiles","url":"/packages/current/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/current/devel/py-test/"},{"path":"lang/python/3","type":"runtime","package_spec":"","url":"/packages/current/lang/python/3/"},{"path":"lang/python/3","type":"build","package_spec":"","url":"/packages/current/lang/python/3/"},{"path":"devel/py-build","type":"build","package_spec":"","url":"/packages/current/devel/py-build/"},{"path":"devel/py-installer","type":"build","package_spec":"","url":"/packages/current/devel/py-installer/"},{"path":"devel/py-hatchling","type":"build","package_spec":"","url":"/packages/current/devel/py-hatchling/"},{"path":"devel/py-test","type":"test","package_spec":"","url":"/packages/current/devel/py-test/"},{"path":"lang/python/3","type":"test","package_spec":"","url":"/packages/current/lang/python/3/"}],"reverse_dependencies":{"count":1,"url":"/packages/data/7f/7f747954b795deef33712abefe59f4b0634a3e758022cc2dfdf145043cb90a5c.json"},"categories":["devel","lang/python"],"flavors":[],"only_for_architectures":["aarch64","amd64","arm","i386","mips64","mips64el","powerpc","powerpc64","riscv64","sparc64","alpha","hppa"],"not_for_architectures":[]}}
