-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* check that ruleset is full * add comments * note about why no docs for tests * update total rules to 105
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
def test_ruleset_complete(): | ||
# registry is filled with whatever ruleset is imported. | ||
# If multiple rulesets are imported, the registry will contain the sum of them all. | ||
import cin_validator.rules.cin2022_23 | ||
from cin_validator.rule_engine import registry | ||
|
||
# check that there are 107 rules in the 2022/2023 version of CIN rules. | ||
assert len(registry) == 105 |