What qualities should a yogi have?

One who is able to withdraw his senses from sense objects, as the tortoise draws its limbs within the shell, is firmly fixed in perfect consciousness.

The test of a yogi is sense control and a yogi is established in self-realisation while constantly thinking of the Lord.