@@ -81,9 +81,9 @@ def test_pushover_url_variations(self):
8181 ]
8282
8383 for url in pushover_urls :
84- assert (
85- validate_apprise_url ( url ) is True
86- ), f"Pushover URL { url } should be valid"
84+ assert validate_apprise_url ( url ) is True , (
85+ f"Pushover URL { url } should be valid"
86+ )
8787
8888 def test_discord_url_variations (self ):
8989 """Test various Discord URL formats."""
@@ -95,9 +95,9 @@ def test_discord_url_variations(self):
9595 ]
9696
9797 for url in discord_urls :
98- assert (
99- validate_apprise_url ( url ) is True
100- ), f"Discord URL { url } should be valid"
98+ assert validate_apprise_url ( url ) is True , (
99+ f"Discord URL { url } should be valid"
100+ )
101101
102102 def test_matrix_url_variations (self ):
103103 """Test various Matrix URL formats."""
@@ -109,9 +109,9 @@ def test_matrix_url_variations(self):
109109 ]
110110
111111 for url in matrix_urls :
112- assert (
113- validate_apprise_url ( url ) is True
114- ), f"Matrix URL { url } should be valid"
112+ assert validate_apprise_url ( url ) is True , (
113+ f"Matrix URL { url } should be valid"
114+ )
115115
116116 def test_gotify_url_variations (self ):
117117 """Test various Gotify URL formats."""
@@ -123,9 +123,9 @@ def test_gotify_url_variations(self):
123123 ]
124124
125125 for url in gotify_urls :
126- assert (
127- validate_apprise_url ( url ) is True
128- ), f"Gotify URL { url } should be valid"
126+ assert validate_apprise_url ( url ) is True , (
127+ f"Gotify URL { url } should be valid"
128+ )
129129
130130 def test_ifttt_url_variations (self ):
131131 """Test various IFTTT URL formats."""
@@ -174,9 +174,9 @@ def test_urls_with_parameters(self):
174174 ]
175175
176176 for url in param_urls :
177- assert (
178- validate_apprise_url ( url ) is True
179- ), f"Parameterized URL { url } should be valid"
177+ assert validate_apprise_url ( url ) is True , (
178+ f"Parameterized URL { url } should be valid"
179+ )
180180
181181 def test_invalid_urls (self ):
182182 """Test validation of invalid URLs."""
@@ -219,6 +219,6 @@ def test_invalid_urls(self):
219219
220220 for url in invalid_urls :
221221 if url is not None :
222- assert (
223- validate_apprise_url ( url ) is False
224- ), f"URL { url } should be invalid"
222+ assert validate_apprise_url ( url ) is False , (
223+ f"URL { url } should be invalid"
224+ )
0 commit comments