test: Make use of shutil's which
Since Python 3.3, shutil has a which implementation. This patch takes advantage of that implementation, which checks if the command exists and its absolute path, and avoids the need to call system's which command. https://bugzilla.gnome.org/show_bug.cgi?id=786149
parent
3c272f0c