From bd85f1adc86b5645808cfc75fd1fef354146cba1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 1 Feb 2020 19:22:22 +0100 Subject: interface: add test for dummy interface --- scripts/cli/test_interfaces.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py index 5ba01a35c..4f52f83d7 100755 --- a/scripts/cli/test_interfaces.py +++ b/scripts/cli/test_interfaces.py @@ -69,6 +69,13 @@ class BasicInterfaceTest: self.assertTrue(is_intf_addr_assigned(intf, addr['addr'])) +class DummyInterfaceTest(BasicInterfaceTest.BaseTest): + def setUp(self): + super().setUp() + self._base_path = ['interfaces', 'dummy'] + self._interfaces = ['dum0', 'dum1', 'dum2'] + + class BondInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): super().setUp() -- cgit v1.2.3