Sec. 7. Promptly after appointment or election a director shall take the following oath:
"I solemnly swear that I shall, to the best of my ability, strive to accomplish the purposes for which the district is established and properly to operate and maintain its works of improvement.".