]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Add 'store_samples' decorator to 'test_bundle'
authorStephen Finucane <stephen@that.guru>
Sun, 28 Oct 2018 14:43:31 +0000 (14:43 +0000)
committerStephen Finucane <stephen@that.guru>
Sat, 22 Dec 2018 16:13:26 +0000 (16:13 +0000)
commit8ffee05d2b8bc7103a5083c87d1ca79a2450499d
treee4de8197ebdb76dc5d59567acb0a434395850c55
parent7274953d3523f179b3fdd4a164632c595be75bd2
tests: Add 'store_samples' decorator to 'test_bundle'

Add the decorator to the 'test_bundle' test class. This involves
splitting up the test cases so that each test case we care about makes
only a single request. We also add a missing test to ensure private
bundles cannot be shown by anyone but the owner.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/tests/api/test_bundle.py