libvirt.tests: Fix pep8 problems for net_edit test.

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