[node-patches] Change in ovirt-node[master]: network: Fix relevant_ifaces doctest

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri May 31 11:10:30 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: network: Fix relevant_ifaces doctest
......................................................................

network: Fix relevant_ifaces doctest

because it depends on runtime informations

Change-Id: I5f604a33b3ed68397fa2847ad8a22c4a9e3aeaa9
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/utils/network.py
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/53/15253/1

diff --git a/src/ovirt/node/utils/network.py b/src/ovirt/node/utils/network.py
index a66c077..3336f13 100644
--- a/src/ovirt/node/utils/network.py
+++ b/src/ovirt/node/utils/network.py
@@ -186,9 +186,6 @@
     >>> "lo" in relevant_ifaces()
     False
 
-    >>> "eth0" in relevant_ifaces() or "em1" in relevant_ifaces()
-    True
-
     Args:
         filter_bridges: If bridges shall be filtered out too
         filter_vlans: If vlans shall be filtered out too


--
To view, visit http://gerrit.ovirt.org/15253
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f604a33b3ed68397fa2847ad8a22c4a9e3aeaa9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list