Skip to content

Commit

Permalink
Update test var names
Browse files Browse the repository at this point in the history
  • Loading branch information
falvaradorodriguez committed Jul 1, 2024
1 parent d21ade9 commit 465f46e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_safe_tx_service_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_add_delegate(self, add_delegate_mock: MagicMock):
expected_hash = safe_operator.safe_tx_service.create_delegate_message_hash(
delegate_address
)
expected_signature_signed = signer.signHash(expected_signature)
expected_signature_signed = signer.signHash(expected_hash)

self.assertTrue(
safe_operator.add_delegate(delegate_address, label, signer.address)
Expand All @@ -108,7 +108,7 @@ def test_remove_delegate(self, remove_delegate_mock: MagicMock):
expected_hash = safe_operator.safe_tx_service.create_delegate_message_hash(
delegate_address
)
expected_signature_signed = signer.signHash(expected_signature)
expected_signature_signed = signer.signHash(expected_hash)

self.assertTrue(safe_operator.remove_delegate(delegate_address, signer.address))

Expand Down

0 comments on commit 465f46e

Please sign in to comment.