Re-install does not duplicate ## graphify sections.
(tmp_path)
| 113 | |
| 114 | |
| 115 | def test_codebuddy_install_idempotent(tmp_path): |
| 116 | """Re-install does not duplicate ## graphify sections.""" |
| 117 | from graphify.__main__ import codebuddy_install |
| 118 | codebuddy_install(tmp_path) |
| 119 | codebuddy_install(tmp_path) |
| 120 | md = _codebuddy_md_path(tmp_path) |
| 121 | assert md.read_text().count("## graphify") == 1 |
| 122 | |
| 123 | |
| 124 | def test_codebuddy_install_upgrades_stale_section(tmp_path): |
nothing calls this directly
no test coverage detected