Skip to content

Commit

Permalink
feat: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Jan 22, 2024
1 parent 2e95415 commit f681cde
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions apps/api/tests/test_applicant.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from test_user_apply import EXPECTED_APPLICATION_DATA

from utils.user_record import Applicant, Status


def test_key_uid_not_in_applicant_model_dump() -> None:
test_applicant = Applicant(
_id="edu.uci.sder",
status=Status.ATTENDING,
application_data=EXPECTED_APPLICATION_DATA,
)

assert "uid" not in test_applicant.model_dump()

0 comments on commit f681cde

Please sign in to comment.