File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change
1
+ Fix dependency-group name normalization.
Original file line number Diff line number Diff line change @@ -334,14 +334,14 @@ def test_dependency_groups_not_list(tox_project: ToxProjectCreator) -> None:
334
334
""" ,
335
335
"pyproject.toml" : """
336
336
[dependency-groups]
337
- test = 1
337
+ teSt = 1
338
338
""" ,
339
339
},
340
340
)
341
341
result = project .run ("r" , "-e" , "py" )
342
342
343
343
result .assert_failed ()
344
- assert "py: failed with dependency group 'test ' is not a list\n " in result .out
344
+ assert "py: failed with dependency group 'teSt ' is not a list\n " in result .out
345
345
346
346
347
347
def test_dependency_groups_bad_requirement (tox_project : ToxProjectCreator ) -> None :
@@ -398,12 +398,12 @@ def test_dependency_groups_cyclic(tox_project: ToxProjectCreator) -> None:
398
398
""" ,
399
399
"pyproject.toml" : """
400
400
[dependency-groups]
401
- test = [ { include-group = "type" } ]
402
- type = [ { include-group = "test" } ]
401
+ teSt = [ { include-group = "type" } ]
402
+ tyPe = [ { include-group = "test" } ]
403
403
""" ,
404
404
},
405
405
)
406
406
result = project .run ("r" , "-e" , "py" )
407
407
408
408
result .assert_failed ()
409
- assert "py: failed with Cyclic dependency group include: 'test ' -> ('test ', 'type ')\n " in result .out
409
+ assert "py: failed with Cyclic dependency group include: 'teSt ' -> ('teSt ', 'tyPe ')\n " in result .out
You can’t perform that action at this time.
0 commit comments