The actual answer to this question is whatever Tunisian law says. Marriage law in Tunisia is archaic and as a woman, it actually removes a lot of your rights.
Here is the US laws on the matter - I would imagine Canada is quite similar.
Marriage in Tunisia - U.S. Embassy Tunis, Tunisia
Please pay careful attention to this part of the post:
The U.S. government urges Americans who meet Tunisians on the internet or while touring the country, to take the time necessary to get to know them before considering marriage. Unfortunately, the Embassy has seen cases of abuse against American spouses, or marriages that end in divorce when the Tunisian acquires a green card or citizenship in the United States. These cases invariably occur when the relationship is based mostly on Internet communication and very little face-to-face interaction.Periodically, the Embassy is contacted when an American has met a Tunisian online, and while visiting their contact in Tunisia,