From ddcc88095a8c88e518fe38d6d9582d6410deb6c6 Mon Sep 17 00:00:00 2001 From: Sohill-Patel <85170301+Sohill-Patel@users.noreply.github.com> Date: Fri, 13 Oct 2023 09:36:55 +0100 Subject: [PATCH] fix: rename var --- tests/integration/test_spam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_spam.py b/tests/integration/test_spam.py index 34c8edf14..d38a74684 100644 --- a/tests/integration/test_spam.py +++ b/tests/integration/test_spam.py @@ -123,9 +123,9 @@ def test_spam_create_referral_sets_in_epoch( epoch_duration = EPOCH_LENGTH * 60 * 1000000000 vega.wait_fn(1) - spam_stats = vega.get_spam_statistics(referrer_id) + spam_stats_response = vega.get_spam_statistics(referrer_id) + spam_stats = MessageToDict(spam_stats_response) logging.info(f"the spam stats are: {spam_stats=}") - spam_stats = MessageToDict(spam_stats) assert ( int(spam_stats["statistics"]["createReferralSet"]["maxForEpoch"]) == max_spam ), "test-prerequisite net param change did not take place"