diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-20 18:50:29 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-02-20 19:35:54 +0100 |
commit | e86eb6f311270b4f0ed539b25c7627258b2bb0ed (patch) | |
tree | 19540410bb5648c70305de92258de24279d077a4 /smoketest/scripts/cli/test_interfaces_macsec.py | |
parent | 4271bc19d152da493f62a1f5b1707ff8cf8e1f10 (diff) | |
download | vyos-1x-e86eb6f311270b4f0ed539b25c7627258b2bb0ed.tar.gz vyos-1x-e86eb6f311270b4f0ed539b25c7627258b2bb0ed.zip |
smoketest: dhcp: T4203: move testcase to base class
We do not only provide DHCP functionality to ethernet interfaces, it's a common
feature so the testcase should be made available for multiple interface types.
(cherry picked from commit 5d14a04b6ffbd592e8257d98d71da5acb1bb45a9)
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_macsec.py')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_macsec.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_macsec.py b/smoketest/scripts/cli/test_interfaces_macsec.py index e4280a5b7..5b10bfa44 100755 --- a/smoketest/scripts/cli/test_interfaces_macsec.py +++ b/smoketest/scripts/cli/test_interfaces_macsec.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2020-2021 VyOS maintainers and contributors +# Copyright (C) 2020-2022 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -40,6 +40,7 @@ def get_cipher(interface): class MACsecInterfaceTest(BasicInterfaceTest.TestCase): @classmethod def setUpClass(cls): + cls._test_dhcp = True cls._test_ip = True cls._test_ipv6 = True cls._base_path = ['interfaces', 'macsec'] |