#1767 Add unit test for view user end point
Merged by pingou. Opened by cverna.
cverna/pagure improve_unit_test_coverage  into  master

Download 1767.patch

The first commit is an update of the doc string for the api_view_user end point. The second commit is the unit test related to this end point.
This bring the test coverage of pagure/api/user.py from 66% to 88%.

One line too many :)

Docstring ? (and maybe above as well?)

Couple of quick comments, a rebase and it's ready to fly :)

2 new commits added

  • Adding unit test for api_view_user end point
  • Update API docstring for api_view_user

rebased

Ready to fly :airplane:

Ok, there is one broken test but not due to this PR, so let's merge

Pull-Request has been merged by pingou

Metadata