Split up pycroft.lib.user
into separate packages
#1376
docker-image.yml
on: pull_request
python-lint
1m 8s
deploy-docs
0s
Annotations
3 errors and 1 warning
TestReturnNonAttributable.test_generate_sepa_xml:
TestReturnNonAttributable#L1
sepaxml.validation.ValidationError: The output SEPA file contains validation errors. This is likely due to an illegal value in one of your input fields.
|
TestMoveOutImpl.test_move_out_bad_params[params1-comment]:
TestMoveOutImpl#L1
sqlalchemy.exc.IntegrityError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "unix_tombstone_login_hash_key"
DETAIL: Key (login_hash)=(\x519ca13018bf6cd59692538ccf3c181681f8aaae233ace8673d6a375a1c20ece8f7b1687e1f7131d16d67b95fce431c8b3c42156ad29c560afee8fa0acb5d957) already exists.
CONTEXT: SQL statement "insert into unix_tombstone (uid, login_hash) values (null, v_u_login_hash)"
PL/pgSQL function user_ensure_tombstone() line 25 at SQL statement
[SQL: INSERT INTO "user" (wifi_passwd_hash, account_id, unix_account_id, address_id, password_reset_token, login, name, registered_at, passwd_hash, email, email_confirmation_key, birthdate, swdd_person_id, room_id) VALUES (%(wifi_passwd_hash)s, %(account_id)s, %(unix_account_id)s, %(address_id)s, %(password_reset_token)s, %(login)s, %(name)s, %(registered_at)s, %(passwd_hash)s, %(email)s, %(email_confirmation_key)s, %(birthdate)s, %(swdd_person_id)s, %(room_id)s) RETURNING "user".email_forwarded, "user".login_hash, "user".email_confirmed, "user".id]
[parameters: {'wifi_passwd_hash': None, 'account_id': 378, 'unix_account_id': None, 'address_id': 200, 'password_reset_token': None, 'login': 'lbrown', 'name': 'James Charles', 'registered_at': datetime.datetime(2003, 1, 21, 5, 22, 4, 786413), 'passwd_hash': '{SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=', 'email': 'schwartzrobert@example.org', 'email_confirmation_key': None, 'birthdate': None, 'swdd_person_id': None, 'room_id': 176}]
(Background on this error at: https://sqlalche.me/e/20/gkpj)
|
test
Process completed with exit code 1.
|
python-lint
Cache save failed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage
|
1.29 MB |
|