Commit 0abbde3
authored
Add ADaM product standards to StandardTypes CLI gate (#1770)
StandardTypes is the allow-list core.py uses to validate -s/--standard. It lists
adamig but not the other six ADaM products in ADAM_PRODUCTS (adam-adae, adam-md,
adam-nca, adam-occds, adam-tte, adam-poppk), which are already handled by
normalize_standard_input(). As a result a command such as `-s adam-tte` is
rejected before the engine runs, even though the engine supports it.
Add the six products to StandardTypes, completing the normalization from #1733
(which added adamig and the sendig-* products), and add a test asserting the gate
stays in sync with ADAM_PRODUCTS.
Signed-off-by: Antony Bevan <antonymichealbevan04@gmail.com>1 parent 25c64ae commit 0abbde3
2 files changed
Lines changed: 18 additions & 0 deletions
File tree
- cdisc_rules_engine/enums
- tests/unit/test_utilities
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments