fix python tests depending on /etc/compass/seting file bug.

Change-Id: Ia9aff7654e5720942a78acc0334e782e5022b4da