libvirt.tests: Fix pylint complaint for virsh nodedev-dumpxml.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>