Skip to content

Instantly share code, notes, and snippets.

@ddahan
Created January 4, 2017 16:33
Show Gist options
  • Save ddahan/8d2e639c2b0e9f7b96592f3031d567ee to your computer and use it in GitHub Desktop.
Save ddahan/8d2e639c2b0e9f7b96592f3031d567ee to your computer and use it in GitHub Desktop.
# scenarios.py
def demo_scenario():
''' Création des données initiales pour l'environnement de démo. '''
user01 = UserFactory.create(first_name="Gerard", last_name="Philippe", birth_date=date(1945, 4, 30), gender="M")
user02 = UserFactory.create(first_name="Sonia", last_name="Roland", birth_date=date(1979, 4, 8), gender="F")
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment