I guess this should be 2 no?
rebased
Should this be @api_login_optional so that if you provide auth and you can see your own private projects? ?
@api_login_optional
@pingou I addressed your comments. Thank you for the review.
I'm wondering if we want to add a test for a private project while at it, what do you think?
@pingou I added those tests. Please review when you can.
I tweaked a little bit the unit-tests (mainly so that it uses methods in pagure.lib instead of doing queries) and rebased :)
Tests are passing, let's merge! :)
Pull-Request has been merged by pingou