Signed-off-by: Mattia Verga mattia.verga@protonmail.com
In process of writing tests, so currently work in progress.
Thanks for the patch @mattia
Thinking about the patch, the function give_orphan_endpoint is very similar to take_orphan_endpoint, but the docstring is the same. Would it not be worthy to make the difference more apparent between those two?
give_orphan_endpoint
take_orphan_endpoint
This will actually never get triggered, because query.get_user returns a list of user objects in case user=None is passed. Is that correct?
query.get_user
user=None
1 new commit added
Fix check in case of no user passed
Add tests fro give_orphan endpoint
rebased onto e4d3f149ef0464f21e5301e33c9fcb181fd2b9b7
Ready for review
+1
LGTM
Pull-Request has been merged by humaton
Signed-off-by: Mattia Verga mattia.verga@protonmail.com