Configure py.test testing environment.