mock test python shells