summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/scripts/cli/base_interfaces_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py
index 4a65545a0..fbedca3f3 100644
--- a/smoketest/scripts/cli/base_interfaces_test.py
+++ b/smoketest/scripts/cli/base_interfaces_test.py
@@ -93,6 +93,11 @@ class BasicInterfaceTest:
self.session.commit()
del self.session
+ # Ethernet is handled in its derived class
+ if 'ethernet' not in self._base_path:
+ for intf in self._interfaces:
+ self.assertFalse(os.path.isdir('/sys/class/net/{intf}'))
+
def test_span_mirror(self):
if not self._mirror_interfaces:
self.skipTest('not enabled')