From 5e9b465fb65231104cf072c8d353c0b97cf8b648 Mon Sep 17 00:00:00 2001 From: MorozovMisha Date: Fri, 31 Jan 2025 16:57:33 +0300 Subject: [PATCH] [SPT-777] Fixed last failture --- snet/cli/test/functional_tests/func_tests.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/snet/cli/test/functional_tests/func_tests.py b/snet/cli/test/functional_tests/func_tests.py index 18704bef..da2334f8 100644 --- a/snet/cli/test/functional_tests/func_tests.py +++ b/snet/cli/test/functional_tests/func_tests.py @@ -263,17 +263,20 @@ def test_channel_1_extend(self): print(self.max_id) assert f"channelId: ", self.max_id in result1 - def test_channel_2_print(self): - result1 = execute(["channel", "print-filter-sender"], self.parser, self.conf) - result2 = execute(["channel", "print-filter-group", self.org_id, self.group], self.parser, self.conf) + def test_channel_2_print_filter_sender(self): + result = execute(["channel", "print-filter-sender"], self.parser, self.conf) """TODO result3 = execute(["channel", "print-filter-group-sender", self.org_id, self.group], self.parser, self.conf) print("res3: ", result3)""" - assert self.max_id in result1 and self.max_id in result2 + assert self.max_id in result """and self.max_id in result3""" + def test_channel_3_print_filter_group(self): + result = execute(["channel", "print-filter-group", self.org_id, self.group], self.parser, self.conf) + assert self.max_id in result + """ TODO - def test_channel_3_claim(self): + def test_channel_4_claim(self): execute(["account", "deposit", self.amount, "-y", "-q"], self.parser, self.conf) execute(["channel", "extend-add", self.max_id, "--amount", self.amount, "-y"], self.parser, self.conf) result1 = execute(["channel", "claim-timeout", f"{self.max_id}", "-y"], self.parser, self.conf)