From b93e343ce618837c26da15468a1fbb12a5f862cc Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Wed, 23 Oct 2024 12:35:07 +0100 Subject: [PATCH] fix_: functional tests (#5979) * fix_: generate on test-functional * chore(test)_: fix functional test assertion --------- Co-authored-by: Siddarth Kumar --- Makefile | 1 + tests-functional/tests/test_router.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 42ce54518..3804269da 100644 --- a/Makefile +++ b/Makefile @@ -398,6 +398,7 @@ test-e2e: ##@tests Run e2e tests test-e2e-race: export GOTEST_EXTRAFLAGS=-race test-e2e-race: test-e2e ##@tests Run e2e tests with -race flag +test-functional: generate test-functional: export FUNCTIONAL_TESTS_DOCKER_UID ?= $(call sh, id -u) test-functional: export FUNCTIONAL_TESTS_REPORT_CODECOV ?= false test-functional: diff --git a/tests-functional/tests/test_router.py b/tests-functional/tests/test_router.py index bc5008422..5af0fa508 100644 --- a/tests-functional/tests/test_router.py +++ b/tests-functional/tests/test_router.py @@ -111,5 +111,5 @@ class TestTransactionFromRoute(SignalTestCase): tx_details = response.json()["result"] assert tx_details["value"] == amount_in - assert tx_details["to"] == user_2.address - assert tx_details["from"] == user_1.address + assert tx_details["to"].upper() == user_2.address.upper() + assert tx_details["from"].upper() == user_1.address.upper()