Skip to content

Instantly share code, notes, and snippets.

@milimetric
Created September 4, 2013 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milimetric/6438290 to your computer and use it in GitHub Desktop.
Save milimetric/6438290 to your computer and use it in GitHub Desktop.
self.create_test_cohort(
editor_count=4,
revisions_per_editor=3,
revision_timestamps=[
[
datetime(2012, 12, 31, 23, 0, 0),
datetime(2013, 1, 1, 0, 30, 0),
datetime(2013, 1, 1, 1, 0, 0),
],
[
datetime(2013, 1, 1, 12, 0, 0),
datetime(2013, 1, 2, 0, 0, 0),
datetime(2013, 1, 2, 12, 0, 0),
],
datetime(2013, 1, 1, 0, 0, 0),
datetime(2013, 1, 8, 0, 0, 0),
datetime(2013, 1, 16, 0, 0, 0),
],
[
datetime(2013, 1, 1, 0, 0, 0),
datetime(2013, 2, 1, 0, 0, 0),
datetime(2014, 1, 1, 0, 0, 0),
],
],
revision_lengths=[[10]*3]*4,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment