Skip to content

Instantly share code, notes, and snippets.

@jaredlockhart
Created October 11, 2018 18:00
Show Gist options
  • Save jaredlockhart/5e293eaaf9e88b5151d53026d231ed19 to your computer and use it in GitHub Desktop.
Save jaredlockhart/5e293eaaf9e88b5151d53026d231ed19 to your computer and use it in GitHub Desktop.
import random
from experimenter.experiments.models import Experiment
from experimenter.experiments.tests.factories import ExperimentFactory
for i in range(100):
ExperimentFactory.create_with_status(random.choice(Experiment.STATUS_CHOICES)[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment