From 4346cf23b828ffc84266621335d485d10e834368 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 14 Jan 2023 13:27:34 +0100 Subject: smoketest: dhcpv6-relay: bugfix TypeError Commit e28b10ce ("smoketest: dhcpv6-relay: use setUpClass() over setUp()") introduced a TypeError: TypeError: cli_set() missing 1 required positional argument: 'config' This has been fixed. --- smoketest/scripts/cli/test_service_dhcpv6-relay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smoketest/scripts') diff --git a/smoketest/scripts/cli/test_service_dhcpv6-relay.py b/smoketest/scripts/cli/test_service_dhcpv6-relay.py index 0c46e1407..8bb58d296 100755 --- a/smoketest/scripts/cli/test_service_dhcpv6-relay.py +++ b/smoketest/scripts/cli/test_service_dhcpv6-relay.py @@ -47,7 +47,7 @@ class TestServiceDHCPv6Relay(VyOSUnitTestSHIM.TestCase): listen = listen_addr if tmp == upstream_if: listen = upstream_if_addr - cls.cli_set(['interfaces', 'ethernet', tmp, 'address', listen]) + cls.cli_set(cls, ['interfaces', 'ethernet', tmp, 'address', listen]) @classmethod def tearDownClass(cls): @@ -55,7 +55,7 @@ class TestServiceDHCPv6Relay(VyOSUnitTestSHIM.TestCase): listen = listen_addr if tmp == upstream_if: listen = upstream_if_addr - cld.cli_delete(['interfaces', 'ethernet', tmp, 'address', listen]) + cls.cli_delete(cls, ['interfaces', 'ethernet', tmp, 'address', listen]) super(TestServiceDHCPv6Relay, cls).tearDownClass() -- cgit v1.2.3