virttest.libvirt_network_unittest: Fix method valid only on py >= 2.7

Use a more generic method, that will work in older
python implementations.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest unittests: Fix method valid only on py >= 2.7

Use older constructs that will make the tests possible
to work on older python versions.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
lvsb: Fix a bug of binary name for sandbox service.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #1247 from yangdongsheng/lvsbs

lvsb: Fix a bug of binary name for sandbox service.
virttest.utils_conn: Fix wrong arguments passed to exception

According to the constructor of ConnPrivKeyError, such
exceptions should be passed a key file and a stderr.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.utils_conn_unittest: Fix method only valid on py >= 2.7

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1249 from autotest/more-pylint-fixes

More pylint fixes
virsh_migrate_setmaxdowntime: SKIP for undefined source URI

Follow virsh_migrate_stress to add 'virsh_migrate_src_uri' to manage the
source uri rather than depending on the 'src_uri' (which is None). Also
check if dest_uri and src_uri haven't changed from the default and SKIP
if so