Skip to content

Commit

Permalink
Merge pull request #491 from data-to-insight/485-error-code-4180-amen…
Browse files Browse the repository at this point in the history
…ded-2024-v11

485 error code 4180 amended 2024 v11
  • Loading branch information
WillLP-code authored Dec 19, 2024
2 parents 27a0738 + 1b8de67 commit 425c2c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cin_validator/rules/cin2024_25/rule_4180.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# replace ChildIdentifiers with the value in the module column of the excel sheet corresponding to this rule .
module=CINTable.ChildIdentifiers,
# replace the message with the corresponding value for this rule, gotten from the excel sheet.
message="Sex is missing",
message="Sex must be provided and equal M, F, or U",
# The column names tend to be the words within the < > signs in the github issue description.
affected_fields=[Sex],
)
Expand Down Expand Up @@ -74,4 +74,4 @@ def test_validate():

# replace '4180' with the rule code and put the appropriate message in its place too.
assert result.definition.code == "4180"
assert result.definition.message == "Sex is missing"
assert result.definition.message == "Sex must be provided and equal M, F, or U"

0 comments on commit 425c2c6

Please sign in to comment.