Skip to content

Commit

Permalink
fmt test case
Browse files Browse the repository at this point in the history
  • Loading branch information
IbraAoad committed Dec 3, 2024
1 parent e3c7613 commit a8f5b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,6 @@ def test_when_external_hostname_is_invalid_go_into_blocked_status(self):
def test_lb_annotations(self):
test_cases = [
("key1=value1,key2=value2", {"key1": "value1", "key2": "value2"}),
("key1=value1,key2", None),
("", {}),
(
"key1=value1,key_2=value2,key-3=value3,",
Expand All @@ -629,6 +628,7 @@ def test_lb_annotations(self):
"kubernetes.io/description=this-is-valid,custom.io/key=value",
None,
), # Reserved prefix used
("key1=value1,key2", None),
("key1=value1,example..com/key2=value2", None), # Invalid domain format (double dot)
("key1=value1,key=value2,key3=", None), # Trailing equals for key3
("key1=value1,=value2", None), # Missing key
Expand Down

0 comments on commit a8f5b7d

Please sign in to comment.