from tests.common.common import USERNAME from tests.common.utils import apiurl PING_URL = apiurl('/api2/ping/') TOKEN_URL = apiurl('/api2/auth-token/') AUTH_PING_URL = apiurl('/api2/auth/ping/') ACCOUNTS_URL = apiurl('/api2/accounts/') ACCOUNT_INFO_URL = apiurl('/api2/account/info/') AVATAR_BASE_URL = apiurl(u'/api2/avatars/') REPOS_URL = apiurl('/api2/repos/') DEFAULT_REPO_URL = apiurl('/api2/default-repo/') VIRTUAL_REPOS_URL = apiurl('/api2/virtual-repos/') GET_REPO_TOKENS_URL = apiurl('/api2/repo-tokens/') GROUPS_URL = apiurl(u'/api2/groups/') USERMSGS_URL = apiurl('/api2/user/msgs/', USERNAME) USERMSGS_COUNT_URL = apiurl('/api2/unseen_messages/') GROUPMSGS_URL = apiurl('/api2/group/msgs/') GROUPMSGS_NREPLY_URL = apiurl('/api2/new_replies/') STARREDFILES_URL = apiurl('/api2/starredfiles/') SHARED_LINKS_URL = apiurl('/api2/shared-links/') SHARED_LIBRARIES_URL = apiurl('/api2/shared-repos/') BESHARED_LIBRARIES_URL = apiurl('/api2/beshared-repos/') SHARED_FILES_URL = apiurl('/api2/shared-files/') F_URL = apiurl('/api2/f/') S_F_URL = apiurl('/api2/s/f/') LIST_GROUP_AND_CONTACTS_URL = apiurl('/api2/groupandcontacts/') DOWNLOAD_REPO_URL = apiurl('api2/repos/%s/download-info/') LOGOUT_DEVICE_URL = apiurl('api2/logout-device/') SERVER_INFO_URL = apiurl('/api2/server-info/')