Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions strr-api/src/strr_api/models/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ class ApplicationSerializer:
Application.Status.PROVISIONAL_REVIEW: "Approved – Provisional",
Application.Status.FULL_REVIEW: "Pending Approval",
Application.Status.DECLINED: "Declined",
Application.Status.NOC_PENDING: "Notice of Consideration - Pending",
Application.Status.NOC_EXPIRED: "Notice of Consideration - Expired",
Application.Status.NOC_PENDING: "Notice of Consideration",
Application.Status.NOC_EXPIRED: "Pending Review",
Application.Status.PROVISIONAL_REVIEW_NOC_PENDING: "Notice of Consideration - Pending",
Application.Status.PROVISIONAL_REVIEW_NOC_EXPIRED: "Notice of Consideration - Expired",
}
Expand All @@ -442,8 +442,8 @@ class ApplicationSerializer:
Application.Status.PROVISIONAL_REVIEW: "Provisional Examination",
Application.Status.FULL_REVIEW: "Full Examination",
Application.Status.DECLINED: "Declined",
Application.Status.NOC_PENDING: "Notice of Consideration - Pending",
Application.Status.NOC_EXPIRED: "Notice of Consideration - Expired",
Application.Status.NOC_PENDING: "NOC - Pending",
Application.Status.NOC_EXPIRED: "NOC - Expired",
Application.Status.PROVISIONAL_REVIEW_NOC_PENDING: "Notice of Consideration - Pending",
Application.Status.PROVISIONAL_REVIEW_NOC_EXPIRED: "Notice of Consideration - Expired",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -788,8 +788,8 @@ def test_examiner_send_notice_of_consideration(mock_noc, mock_invoice, session,
assert HTTPStatus.OK == rv.status_code
response_json = rv.json
assert response_json.get("header").get("status") == Application.Status.NOC_PENDING
assert response_json.get("header").get("hostStatus") == "Notice of Consideration - Pending"
assert response_json.get("header").get("examinerStatus") == "Notice of Consideration - Pending"
assert response_json.get("header").get("hostStatus") == "Notice of Consideration"
assert response_json.get("header").get("examinerStatus") == "NOC - Pending"
assert response_json.get("header").get("examinerActions") == ["APPROVE", "REJECT"]
assert response_json.get("header").get("hostActions") == []
assert response_json.get("header").get("nocStartDate") is not None
Expand Down