[node-patches] Change in ovirt-node[master]: defaults: Fix kdump testcase
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Thu May 30 15:26:23 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: defaults: Fix kdump testcase
......................................................................
defaults: Fix kdump testcase
Change-Id: I613552edfd8e357ea005bf1e578c05ae84159a89
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/config/defaults.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/14/15214/1
diff --git a/src/ovirt/node/config/defaults.py b/src/ovirt/node/config/defaults.py
index 80dbce6..1d7d54d 100644
--- a/src/ovirt/node/config/defaults.py
+++ b/src/ovirt/node/config/defaults.py
@@ -758,13 +758,13 @@
>>> fn = "/tmp/cfg_dummy"
>>> cfgfile = ConfigFile(fn, SimpleProvider)
- >>> nfs_url = "host.example.com"
+ >>> nfs_url = "host.example.com:/dst/path"
>>> ssh_url = "root at host.example.com"
>>> n = KDump(cfgfile)
>>> n.update(nfs_url, ssh_url, True)
>>> d = sorted(n.retrieve().items())
>>> d[:2]
- [('local', True), ('nfs', 'host.example.com')]
+ [('local', True), ('nfs', 'host.example.com:/dst/path')]
>>> d[2:]
[('ssh', 'root at host.example.com')]
"""
--
To view, visit http://gerrit.ovirt.org/15214
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I613552edfd8e357ea005bf1e578c05ae84159a89
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