renaming test and fix

This commit is contained in:
Gabriel mermelstein 2025-01-30 14:15:38 +02:00
parent f1c21ffa95
commit 68f38bc00d
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

View File

@ -107,8 +107,8 @@ class TestHashes(StepsStore):
assert "waku message hash parsing error" in str(ex), "Unexpected error for combined empty and valid hash"
# Test for hashes that include non-hex characters.
def test_store_with_non_base64_characters_in_hash(self):
non_hex_hash = "###INVALID HEX###" # Invalid hash with non-hex characters
def test_store_with_non_hex_characters_in_hash(self):
non_hex_hash = "### INVALID HASH ###" # Invalid hash with non-hex characters
for i in range(4):
self.publish_message(message=self.create_message(payload=to_base64(f"Message_{i}")))