tests: supprime les collisions d'email dans la fixture rsu

This commit is contained in:
Benjamin Dauvergne 2017-09-05 20:09:50 +02:00
parent c39aed6ec1
commit b1c0307bf2
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ def rsu(rsu_schema):
for i in range(1000):
individu = {}
individu['genre'] = genre = sexes[random.randint(0, 2)]
individu['email'] = fake.email()
individu['email'] = str(i) + fake.email()
if genre == 'femme':
individu['prenoms'] = fake.first_name_female()
individu['nom_de_naissance'] = fake.last_name_female()