1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 07:08:55 +00:00

[tests] add api test for group members, groups, group msgs, user msgs

This commit is contained in:
Chilledheart
2014-08-28 02:45:58 +08:00
committed by lins05
parent f7f304096b
commit e65248bcc2
8 changed files with 246 additions and 1 deletions

View File

@@ -20,7 +20,15 @@ TOKEN_URL = BASE_URL + u'/api2/auth-token/'
AUTH_PING_URL = BASE_URL + u'/api2/auth/ping/'
ACCOUNTS_URL = BASE_URL + u'/api2/accounts/'
ACCOUNT_INFO_URL = BASE_URL + u'/api2/account/info'
ACCOUNT_INFO_URL = BASE_URL + u'/api2/account/info/'
USERMSGS_URL = BASE_URL + u'/api2/user/msgs/' + USERNAME + u'/'
USERMSGS_COUNT_URL = BASE_URL + u'/api2/unseen_messages/'
GROUP_URL = BASE_URL + u'/api2/group/'
GROUPS_URL = BASE_URL + u'/api2/groups/'
GROUPMSGS_URL = BASE_URL + u'/api2/group/msgs/'
GROUPMSGS_NREPLY_URL = BASE_URL + u'/api2/new_replies/'
STARREDFILES_URL = BASE_URL + u'/api2/starredfiles/'
META_AUTH = {'username': USERNAME, 'password': PASSWORD}