diff --git a/snet/cli/test/functional_tests/func_tests.py b/snet/cli/test/functional_tests/func_tests.py index ee4923a5..34092454 100644 --- a/snet/cli/test/functional_tests/func_tests.py +++ b/snet/cli/test/functional_tests/func_tests.py @@ -8,6 +8,7 @@ import importlib.util import math import re +import time from snet.cli.commands.commands import BlockchainCommand @@ -75,8 +76,11 @@ def test_3_set_network_sepolia(self): result = execute(["session"], self.parser, self.conf) assert "network: sepolia" in result - def test_4_network_create(self): - execute(["network", "create", self.new_network, INFURA], self.parser, self.conf) + def test_41_network_create(self): + result = execute(["network", "create", self.new_network, INFURA], self.parser, self.conf) + assert f"add network with name='{self.new_network}'" in result + + def test_42_network_create_confirmation(self): execute(["network", self.new_network], self.parser, self.conf) result = execute(["session"], self.parser, self.conf) execute(["network", "sepolia"], self.parser, self.conf) @@ -252,7 +256,7 @@ def setUp(self): self.group = "default_group" data = execute(["channel", "print-filter-sender"], self.parser, self.conf) lines = data.split("\n") - + self.max_id = "" for line in lines: parts = line.split() if len(parts) >= 6 and parts[0].isdigit() and parts[-1].isdigit():