From a8f5b7dd5db6bf4cbd96937108d1ce76dcf5bfd8 Mon Sep 17 00:00:00 2001 From: IbraAoad Date: Wed, 4 Dec 2024 01:21:12 +0200 Subject: [PATCH] fmt test case --- tests/unit/test_charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_charm.py b/tests/unit/test_charm.py index b8267a90..0ef0f1d5 100644 --- a/tests/unit/test_charm.py +++ b/tests/unit/test_charm.py @@ -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,", @@ -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