Skip to content

Commit b8b09b6

Browse files
Merge pull request #54 from gyakovlev/tests-wg
tests/test_ethtool.py: skip test_get_active_devices for wg
2 parents 78cbe6f + 1805cb8 commit b8b09b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_ethtool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ def test_get_interface_info_all(self):
254254

255255
def test_get_active_devices(self):
256256
for devname in ethtool.get_active_devices():
257-
# Skip these test on tun devices
258-
if devname.startswith('tun'):
257+
# Skip these test on tun and wg devices
258+
if devname.startswith('tun') or devname.startswith('wg'):
259259
continue
260260
self._functions_accepting_devnames(devname)
261261

0 commit comments

Comments
 (0)