mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-27 16:14:34 +02:00
Drop netifaces (replaced by psutil). Fixes #344.
This commit is contained in:
1 parent
6fbc84c0dc
commit
c3e99bfc1d
7 files changed
+18
-30
No files matched your search
+2
-2
@@ -132,8 +132,8 @@ def free_console_port(request, port_manager, project):
|
||||
|
||||
@pytest.fixture
|
||||
def ethernet_device():
|
||||
import netifaces
|
||||
return netifaces.interfaces()[0]
|
||||
import psutil
|
||||
return sorted(psutil.net_if_addrs().keys())[0]
|
||||
|
||||
|
||||
@pytest.yield_fixture(autouse=True)
|
||||
|
||||
Reference in new issue
Block a user