(tmp_path, platform)
| 26 | |
| 27 | |
| 28 | def _install(tmp_path, platform): |
| 29 | from graphify.__main__ import install |
| 30 | |
| 31 | old_cwd = Path.cwd() |
| 32 | try: |
| 33 | os.chdir(tmp_path) |
| 34 | with patch("graphify.__main__.Path.home", return_value=tmp_path): |
| 35 | install(platform=platform) |
| 36 | finally: |
| 37 | os.chdir(old_cwd) |
| 38 | |
| 39 | |
| 40 | def test_install_default_claude(tmp_path): |
no test coverage detected