Fix some warnings in unittests
Fix some warnings in unittests

andir/ganeti,grnet/snf-ganeti,ganeti-github-testing/ganeti-test-1,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,yiannist/ganeti,leshchevds/ganeti,andir/ganeti,apyrgio/ganeti,bitemyapp/ganeti,yiannist/ganeti,dimara/ganeti,onponomarev/ganeti,mbakke/ganeti,bitemyapp/ganeti,apyrgio/snf-ganeti,onponomarev/ganeti,apyrgio/ganeti,mbakke/ganeti,yiannist/ganeti,leshchevds/ganeti,mbakke/ganeti,ganeti/ganeti,ganeti/ganeti,grnet/snf-ganeti,dimara/ganeti,apyrgio/snf-ganeti,ganeti/ganeti,andir/ganeti