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:
moson 2023-09-01 13:25:21 +02:00
parent 9eda6a42c6
commit b576e576da
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
32 changed files with 258 additions and 196 deletions

View file

@ -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():