Fabian Deutsch has uploaded a new change for review. Change subject: utils: Remove doctest involving real nics ......................................................................
utils: Remove doctest involving real nics Previously some doctests assumed that lo exists, this assumption is now dropped and the affected doctests got removed. Change-Id: I597863ed8b574dd86270dff91b6d2a680a91ac4a Signed-off-by: Fabian Deutsch <[email protected]> --- M src/ovirt/node/utils/network.py 1 file changed, 0 insertions(+), 5 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/88/32388/1 diff --git a/src/ovirt/node/utils/network.py b/src/ovirt/node/utils/network.py index 467d6b4..9944fb4 100644 --- a/src/ovirt/node/utils/network.py +++ b/src/ovirt/node/utils/network.py @@ -227,8 +227,6 @@ def exists(self): """If this NIC currently exists in the system - >>> NIC("lo").exists() - True """ return self.ifname in all_ifaces() @@ -242,9 +240,6 @@ def has_link(self): """Determin if L1 is up on a given interface - - >>> NIC("lo").has_link() - True Args: ifname: The interface to be checked -- To view, visit http://gerrit.ovirt.org/32388 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I597863ed8b574dd86270dff91b6d2a680a91ac4a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Fabian Deutsch <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
