diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-14 13:27:34 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-14 13:27:34 +0100 |
commit | 4346cf23b828ffc84266621335d485d10e834368 (patch) | |
tree | b70db8b5c363616556189e1e2fe346960eb5c699 /smoketest/scripts/cli | |
parent | 1ccbaa9742a587e65aea7cde0344494a6137343a (diff) | |
download | vyos-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')
-rwxr-xr-x | smoketest/scripts/cli/test_service_dhcpv6-relay.py | 4 |
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() |