Open AlexandrePalo opened 3 years ago
Tests should use randomized data to be repeatable.
We should use an API such as Faker.
For instance:
self.user_only_username = User.objects.create(username='userOnlyUsername')
May be:
from faker import Faker faker = Faker('fr_FR') self.user_only_username = User.objects.create(username=faker.user_name())
Work in progress on the branch moreTests.
Tests should use randomized data to be repeatable.
We should use an API such as Faker.
For instance:
May be: