renaming variables

This commit is contained in:
Gabriel mermelstein 2025-01-30 13:06:52 +02:00
parent 5b045cc5a0
commit d3b0090a77
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

View File

@ -57,10 +57,10 @@ class TestHashes(StepsStore):
def test_store_with_non_base64_hash(self):
for i in range(4):
self.publish_message(message=self.create_message(payload=to_base64(f"Message_{i}")))
non_base64_hash = "test"
non_hex_hash = "test"
for node in self.store_nodes:
try:
store_response = self.get_messages_from_store(node, hashes=non_base64_hash, page_size=50)
store_response = self.get_messages_from_store(node, hashes=non_hex_hash, page_size=50)
assert not store_response.messages
except Exception as ex:
assert "waku message hash parsing error: invalid hash length" in str(ex)