Housing for switching power supply