Skip to content

Commit 742ecf2

Browse files
authored
Importers: Force tags to lowercase (#11221)
1 parent 6d99eb3 commit 742ecf2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dojo/importers/options.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,13 +530,15 @@ def validate_tags(
530530
*args: list,
531531
**kwargs: dict,
532532
) -> list:
533-
return self.validate(
533+
tags = self.validate(
534534
"tags",
535535
expected_types=[list],
536536
required=False,
537537
default=[],
538538
**kwargs,
539539
)
540+
# Force all tags to be lowercase
541+
return [tag.lower() for tag in tags]
540542

541543
def validate_test(
542544
self,

0 commit comments

Comments
 (0)