Skip to content

Commit 7cb0123

Browse files
Fix test
1 parent 2153cd4 commit 7cb0123

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/usethis/_integrations/uv/test_deps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ def test_dev_group_not_registered(self, uv_init_dir: Path):
264264
add_deps_to_group([Dependency(name="black")], "dev")
265265

266266
# Assert
267-
default_groups = get_config_value(["tool", "uv", "default-groups"])
268-
assert "dev" not in default_groups
267+
# Tool section shouldn't even exist in pyproject.toml
268+
assert "tool" not in (uv_init_dir / "pyproject.toml").read_text()
269269

270270

271271
class TestRemoveDepsFromGroup:

0 commit comments

Comments
 (0)