Skip to content

Commit

Permalink
Fix gnosis protocol test
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Jun 29, 2022
1 parent 5db8557 commit 4e8acba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions gnosis/protocol/tests/test_gnosis_protocol_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ def test_get_estimated_amount(self):
response = self.gnosis_protocol_api.get_estimated_amount(
self.gno_token_address, self.gno_token_address, OrderKind.SELL, 1
)
self.assertEqual(
self.assertDictEqual(
response,
{"amount": "1", "token": "0x6810e776880c02933d47db1b9fc05908e5386b96"},
{
"errorType": "SameBuyAndSellToken",
"description": "Buy token is the same as the sell token.",
},
)

response = self.gnosis_protocol_api.get_estimated_amount(
Expand Down

0 comments on commit 4e8acba

Please sign in to comment.