summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_bonding.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-20 18:50:29 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-20 18:50:29 +0100
commit5d14a04b6ffbd592e8257d98d71da5acb1bb45a9 (patch)
treecbc3ba32772b1cd2c6aa93cb0a4a29098cdc4613 /smoketest/scripts/cli/test_interfaces_bonding.py
parentb693f929b63c0c847d9a3c6ee9160845ef501be1 (diff)
downloadvyos-1x-5d14a04b6ffbd592e8257d98d71da5acb1bb45a9.tar.gz
vyos-1x-5d14a04b6ffbd592e8257d98d71da5acb1bb45a9.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.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_bonding.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_bonding.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_bonding.py b/smoketest/scripts/cli/test_interfaces_bonding.py
index 1d9a887bd..4f2fe979a 100755
--- a/smoketest/scripts/cli/test_interfaces_bonding.py
+++ b/smoketest/scripts/cli/test_interfaces_bonding.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2020 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
@@ -28,6 +28,7 @@ from vyos.util import read_file
class BondingInterfaceTest(BasicInterfaceTest.TestCase):
@classmethod
def setUpClass(cls):
+ cls._test_dhcp = True
cls._test_ip = True
cls._test_ipv6 = True
cls._test_ipv6_pd = True