fix: address CodeQL url substring sanitization alert in test
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -88,4 +88,4 @@ class TestGravatarUrlVariations:
|
|||||||
def test_empty_string_email(self):
|
def test_empty_string_email(self):
|
||||||
"""Test handling of empty string email."""
|
"""Test handling of empty string email."""
|
||||||
url = get_gravatar_url("")
|
url = get_gravatar_url("")
|
||||||
assert "gravatar.com" in url
|
assert url.startswith("https://www.gravatar.com/avatar/")
|
||||||
|
|||||||
Reference in New Issue
Block a user