Oil light not working

If you hook the sender wire to ground it should light the oil lamp. If it's a gauge it should quickly send the gauge to full scale. The oil light sender is a switch to ground. Pressure= switch open

Read what I typed above about the circuit path. You go from 12V through the light and to the switch. The light is wired in series.