users: make AuthUser propert a method, and allow override of params.
This commit is contained in:
parent
d86be7d432
commit
ee0e7c21f8
13 changed files with 16 additions and 17 deletions
|
|
@ -116,7 +116,7 @@ class TestGetRepos(object):
|
|||
response = api_call(self.app, params)
|
||||
|
||||
user = User.get_by_username(self.TEST_USER_LOGIN)
|
||||
allowed_repos = user.AuthUser.permissions['repositories']
|
||||
allowed_repos = user.AuthUser().permissions['repositories']
|
||||
|
||||
result = []
|
||||
for repo in RepoModel().get_all():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue