Skip to content

Commit 8c36634

Browse files
committed
test: update test_util.py
1 parent 20f9f6e commit 8c36634

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tests/test_util.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,11 @@
2525
def test_get_version_from_dependency_success():
2626
"""Test get_version_from_dependency with valid pyproject.toml."""
2727
mock_toml_content = {
28-
"build-system": {
29-
"requires": [
30-
"clang-format==20.1.7",
31-
"clang-tidy==20.1.0",
32-
"other-package==1.0.0",
33-
]
34-
},
28+
"dependencies": [
29+
"clang-format==20.1.7",
30+
"clang-tidy==20.1.0",
31+
"other-package==1.0.0",
32+
],
3533
"project": {},
3634
}
3735

0 commit comments

Comments
 (0)