Commit 8918ced
Arsen P
Update individual creation logic to set household default value
- Modified the `create_individual` function to set a default value of `None` for the household field in the extras dictionary, ensuring that household information is handled correctly during individual creation.
- Adjusted the test assertions to reflect the expected household count based on the program's beneficiary group, enhancing the accuracy of the import processing tests.1 parent 62a2f25 commit 8918ced
File tree
2 files changed
+3
-11
lines changed- src/country_workspace/contrib/aurora
- tests/workspace
2 files changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | | - | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | 349 | | |
358 | 350 | | |
359 | | - | |
| 351 | + | |
360 | 352 | | |
361 | 353 | | |
362 | 354 | | |
| |||
0 commit comments