]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Set 'date' when bulk creating patches
authorStephen Finucane <stephen@that.guru>
Fri, 23 Dec 2016 20:21:56 +0000 (20:21 +0000)
committerStephen Finucane <stephen@that.guru>
Fri, 23 Dec 2016 20:24:22 +0000 (20:24 +0000)
commit9109e012a1efd99a9158ab7d909342709f0ee783
tree1df50b0214da872ff3b31c9348ab2d5bd663f53e
parenta520fc8352b378a47ca22d5bc9f54df310d9a0e6
tests: Set 'date' when bulk creating patches

Apparently Django 1.8+ changed how patches with identical 'date' fields
were ordered, meaning tests that worked on these versions failed on
previous versions.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: ed5e93242 ("tests: Add rudimentary pagination tests")
patchwork/tests/utils.py