mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: TU rename - code changes
Renaming of symbols. Functions, variables, values, DB values, etc. Basically everything that is not user-facing. This only covers "Trusted User" things: tests, comments, etc. will covered in a following commit.
This commit is contained in:
parent
9eda6a42c6
commit
1e6282eafe
30 changed files with 223 additions and 163 deletions
|
@ -48,12 +48,12 @@ def test_adduser_tu():
|
|||
"-p",
|
||||
"abcd1234",
|
||||
"-t",
|
||||
at.TRUSTED_USER,
|
||||
at.PACKAGE_MAINTAINER,
|
||||
]
|
||||
)
|
||||
test = db.query(User).filter(User.Username == "test").first()
|
||||
assert test is not None
|
||||
assert test.AccountTypeID == at.TRUSTED_USER_ID
|
||||
assert test.AccountTypeID == at.PACKAGE_MAINTAINER_ID
|
||||
|
||||
|
||||
def test_adduser_ssh_pk():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue