Commit 2ee59365 authored by Daniel Salzman's avatar Daniel Salzman

tests-extra: update keymgr output parsing

parent adb03224
......@@ -928,7 +928,7 @@ class Knot(Server):
set_params = [ option + "=" + value for option, value in new_params.items() ]
res = dnstest.keys.Keymgr.run_check(self.keydir, zone_name, "generate", *set_params)
errcode, stdo, stde = res
return stdo.split()[-2]
return stdo.split()[-1]
def key_set(self, zone_name, key_id, **new_values):
set_params = [ option + "=" + value for option, value in new_values.items() ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment