mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-31 11:28:30 -04:00
Tests being configured.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -448,11 +448,13 @@ class Organization(db.Model):
|
||||
|
||||
@property
|
||||
def agreement_active(self):
|
||||
return self.agreement and self.agreement.status == AgreementStatus.active
|
||||
return (
|
||||
self.agreement.status == AgreementStatus.active if self.agreement else False
|
||||
)
|
||||
|
||||
@property
|
||||
def has_mou(self):
|
||||
return self.agreement and self.agreement.type == AgreementType.MOU
|
||||
return self.agreement.type == AgreementType.MOU if self.agreement else False
|
||||
|
||||
def serialize(self):
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user