International Building Code 3312.1
Completion before occupancy. In buildings where
an automatic sprinkler system is required by this code, it shall
be unlawful to occupy any portion of a building or structure
until the automatic sprinkler system installation has been tested
and approved, except as provided in Section 110.3.
International Building Code 3312.2
Operation of valves. Operation of sprinkler control
valves shall be permitted only by properly authorized personnel
and shall be accompanied by notification of duly designated
parties. When the sprinkler protection is being regularly
turned off and on to facilitate connection of newly completed
segments, the sprinkler control valves shall be checked at the
end of each work period to ascertain that protection is in service.