generated from ghga-de/microservice-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8abb63
commit 0ee8fd7
Showing
8 changed files
with
53 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
from operator import attrgetter | ||
from typing import Any, NamedTuple, Optional | ||
|
||
from ghga_service_commons.auth.ghga import AcademicTitle, AuthContext | ||
from ghga_service_commons.auth.ghga import AcademicTitle, AuthContext, UserStatus | ||
from ghga_service_commons.utils.utc_dates import UTCDatetime, now_as_utc, utc_datetime | ||
from pytest import mark, raises | ||
|
||
|
@@ -47,9 +47,11 @@ | |
name="John Doe", | ||
email="[email protected]", | ||
title=AcademicTitle.DR, | ||
ext_id=None, | ||
role=None, | ||
iat=IAT, | ||
exp=EXP, | ||
status=UserStatus.ACTIVE, | ||
) | ||
|
||
|
||
|
@@ -58,9 +60,11 @@ | |
name="Rod Steward", | ||
email="[email protected]", | ||
title=None, | ||
ext_id=None, | ||
role="[email protected]", | ||
iat=IAT, | ||
exp=EXP, | ||
status=UserStatus.ACTIVE, | ||
) | ||
|
||
|
||
|