From 4bb7dedba86d9bc8fd0613bbabe159a072c16c3e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 1 Feb 2020 19:22:32 +0100 Subject: interface: add test for loopback interface --- scripts/cli/test_interfaces.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts') diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py index 4f52f83d7..6bbacc585 100755 --- a/scripts/cli/test_interfaces.py +++ b/scripts/cli/test_interfaces.py @@ -76,6 +76,13 @@ class DummyInterfaceTest(BasicInterfaceTest.BaseTest): self._interfaces = ['dum0', 'dum1', 'dum2'] +class LoopbackInterfaceTest(BasicInterfaceTest.BaseTest): + def setUp(self): + super().setUp() + self._base_path = ['interfaces', 'loopback'] + self._interfaces = ['lo'] + + class BondInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): super().setUp() -- cgit v1.2.3