In CentOS, we expect to have python3 client package in 8.x while we expect to have python2 in 7.x . Fix unit tests to expect the correct version according to os major version. Change-Id: Ie4fd708bbc9dcd80e1e69addb5a6a087f0deea2c