def add_members_to_team(app, _db): TeamFactory(members=ParticipantFactory.create_batch(10)) _db.session.commit()
def add_participants_to_hacknight(app, _db): HacknightFactory(participants=ParticipantFactory.create_batch(10)) _db.session.commit()