()
| 340 | |
| 341 | @pytest.fixture |
| 342 | def local_python_config(): |
| 343 | # Make a "local" hooks repo that just installs our other hooks repo |
| 344 | repo_path = get_resource_path('python_hooks_repo') |
| 345 | manifest = load_manifest(os.path.join(repo_path, C.MANIFEST_FILE)) |
| 346 | hooks = [ |
| 347 | dict(hook, additional_dependencies=[repo_path]) for hook in manifest |
| 348 | ] |
| 349 | return {'repo': 'local', 'hooks': hooks} |
| 350 | |
| 351 | |
| 352 | def test_local_python_repo(store, local_python_config): |
nothing calls this directly
no test coverage detected