Merge pull request #188 from dmick/wip-test-config-key

test_mon_config_key.py: fix 'del' to clean up correctly internally

Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
This commit is contained in:
Dan Mick 2013-04-02 16:38:12 -07:00
commit 17a55660e8

View File

@ -281,10 +281,10 @@ def main():
cmd += [ key ]
opLOG.debug('key: {k}'.format(k=key))
run_cmd(cmd, expects=expected)
if op == 'existing':
if sop == 'existing':
config_del.append(key)
config_put.remove(key)
config_existing.erase(key)
del config_existing[key]
continue
elif op == 'exists':