[PATCH 2/2] tests: Add tests for viewing private bundles

2017-05-25 Thread Andrew Donnellan
Add some tests to check that owners can view their private bundles while other authenticated users can't. Signed-off-by: Andrew Donnellan --- I'm not very familiar with writing Django tests, please flame away --- patchwork/tests/test_bundles.py | 58 + 1

Re: [PATCH 2/2] tests: Add tests for viewing private bundles

2017-05-26 Thread Stephen Finucane
On Thu, 2017-05-25 at 17:38 +1000, Andrew Donnellan wrote: > Add some tests to check that owners can view their private bundles > while > other authenticated users can't. > > Signed-off-by: Andrew Donnellan > > --- > > I'm not very familiar with writing Django tests, please flame away For both

Re: [PATCH 2/2] tests: Add tests for viewing private bundles

2017-05-28 Thread Andrew Donnellan
On 26/05/17 18:49, Stephen Finucane wrote: For both of these: Reviewed-by: Stephen Finucane and applied. Sorry for missing this. I think I added tests but they clearly weren't up to scratch. I guess these will all be replaced if we switch to token auth? Thanks! Yeah, the tests will need som