HomeSoftware Heritage

tests: Simplify OIDCUser tests

Description

tests: Simplify OIDCUser tests

Remove the AppUser test model inheriting from OIDCUser.

Storing data related to a remote user should be done with a dedicated
django model containing a user identifier column.

Update tests accordingly.

Details

Provenance
anlambertAuthored on Mar 25 2021, 12:03 PM
anlambertPushed on Mar 25 2021, 1:46 PM
Differential Revision
D5331: tests: Simplify OIDCUser tests
Parents
rDAUTH13a56100ba04: django/models: Add new fields and oidc_profile property to OIDCUser
Branches
Unknown
Tags
Unknown
Build Status
Buildable 20209
Build 31364: test-and-buildJenkins console · Jenkins