tests/rest/userinfo_test.py
Function test_userinfo_api
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
def test_userinfo_api(self):
"""Test the GET method."""
# test by user_id
user_id = 10
req = requests.get('{0}/userinfo/by_id/{1}'.format(self.url, user_id))