mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-30 04:53:09 +02:00
Fix tests and lint
This commit is contained in:
parent
aa926ec88b
commit
d8227148f6
5 changed files with 22 additions and 10 deletions
|
@ -36,4 +36,4 @@ class UserPortfolioPermissionChoices(models.TextChoices):
|
|||
|
||||
@classmethod
|
||||
def get_user_portfolio_permission_label(cls, user_portfolio_permission):
|
||||
return cls(user_portfolio_permission).label if user_portfolio_permission else None
|
||||
return cls(user_portfolio_permission).label if user_portfolio_permission else None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue