Import lfs_plugins.props module.
()
| 50 | |
| 51 | @pytest.fixture |
| 52 | def lfs_props(): |
| 53 | """Import lfs_plugins.props module.""" |
| 54 | project_root = Path(__file__).parent.parent.parent |
| 55 | build_python = project_root / "build" / "src" / "python" |
| 56 | if str(build_python) not in sys.path: |
| 57 | sys.path.insert(0, str(build_python)) |
| 58 | |
| 59 | try: |
| 60 | from lfs_plugins import props |
| 61 | |
| 62 | return props |
| 63 | except ImportError as e: |
| 64 | pytest.skip(f"lfs_plugins.props module not available: {e}") |
| 65 | |
| 66 | |
| 67 | @pytest.fixture |