summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_service_dhcpv6-relay.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-14 13:27:34 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-14 13:27:34 +0100
commit4346cf23b828ffc84266621335d485d10e834368 (patch)
treeb70db8b5c363616556189e1e2fe346960eb5c699 /smoketest/scripts/cli/test_service_dhcpv6-relay.py
parent1ccbaa9742a587e65aea7cde0344494a6137343a (diff)
downloadvyos-1x-4346cf23b828ffc84266621335d485d10e834368.tar.gz
vyos-1x-4346cf23b828ffc84266621335d485d10e834368.zip
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.
Diffstat (limited to 'smoketest/scripts/cli/test_service_dhcpv6-relay.py')
-rwxr-xr-xsmoketest/scripts/cli/test_service_dhcpv6-relay.py4
1 files changed, 2 insertions, 2 deletions
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()