diff options
Diffstat (limited to 'scripts/cli/test_interfaces_ethernet.py')
-rwxr-xr-x | scripts/cli/test_interfaces_ethernet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cli/test_interfaces_ethernet.py b/scripts/cli/test_interfaces_ethernet.py index ddc6ffb27..373c81680 100755 --- a/scripts/cli/test_interfaces_ethernet.py +++ b/scripts/cli/test_interfaces_ethernet.py @@ -17,7 +17,7 @@ import unittest from base_interfaces_test import BasicInterfaceTest -from vyos.ifconfig import Interface +from vyos.ifconfig import Section class EthernetInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): @@ -29,7 +29,7 @@ class EthernetInterfaceTest(BasicInterfaceTest.BaseTest): # we need to filter out VLAN interfaces identified by a dot (.) # in their name - just in case! - for tmp in Interface.listing("ethernet"): + for tmp in Section.interfaces("ethernet"): if not '.' in tmp: self._interfaces.append(tmp) |