Added userProfile case to test.py

This commit is contained in:
Domenico Iezzi 2017-12-09 11:39:10 +01:00
parent a4dbf80a73
commit df4300c7df
No known key found for this signature in database
GPG Key ID: 7AC94D5DDA2FB7EE

View File

@ -83,6 +83,13 @@ print('\nGetting details for %s\n' % testApps[0])
details = server.details(testApps[0])
print(details)
# USER PROFILE
print('\nGettung user profile information\n')
user = server.userProfile()
if 'Noto Sans' not in user['title']:
raise Exception("Wrong userProfile behaviour")
sys.exit(1)
# REVIEWS
print('\nGetting reviews for %s\n' % testApps[0])
revs = server.reviews(testApps[0])