Skip to content

Commit e47556d

Browse files
Add test for use_tool
1 parent 66d617f commit e47556d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/usethis/_core/test_core_tool.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3468,3 +3468,11 @@ def test_removed_from_all_files(self, uv_init_dir: Path):
34683468
"[tool.ruff.lint]" not in (uv_init_dir / "pyproject.toml").read_text()
34693469
)
34703470
assert not (uv_init_dir / "ruff.toml").exists()
3471+
3472+
3473+
class TestUseTool:
3474+
def test_add_all_tool(self, uv_init_dir: Path):
3475+
# Act
3476+
with change_cwd(uv_init_dir), files_manager():
3477+
for tool in ALL_TOOLS:
3478+
use_tool(tool)

0 commit comments

Comments
 (0)