Skip to content

Commit

Permalink
🎨 test type case
Browse files Browse the repository at this point in the history
  • Loading branch information
Wytamma authored Dec 13, 2024
1 parent 530115a commit b9ee3ee
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_cli/test_dynamic_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ def test_create_option_from_annotation(
assert option.type is str
assert option.required is True


def test_create_option_from_annotation_type_Case_insensitive(
default_annotation_values, default_default_values
):
default_annotation_values["test:type"] = "STR"
option = create_option_from_annotation(
"test", default_annotation_values, default_default_values
)
assert option.type is str


def test_create_option_from_annotation_with_short(
default_annotation_values, default_default_values
):
Expand Down

0 comments on commit b9ee3ee

Please sign in to comment.