Question : How long do most people visit Tunis?
Answer : Of course you're not most people, but if you were, you'd stay roughly 31 days.
Question : If your plans are flexible, have you considered changing your departure day?
Answer : In July, Thursday is your lowest-cost day to fly. Flexibility is paramount when booking travel plans in order to keep travel costs down.