@@ -491,6 +491,7 @@ def test_eru_readiness_list(self):
491491 "equipment_readiness" : ERUReadinessType .ReadinessStatus .READY ,
492492 "people_readiness" : ERUReadinessType .ReadinessStatus .READY ,
493493 "funding_readiness" : ERUReadinessType .ReadinessStatus .READY ,
494+ "ns_contribution" : ERUReadinessType .NationalSocietyContribution .HOLDS ,
494495 }
495496 eru_readiness_type_1 , eru_readiness_type_2 = ERUReadinessTypeFactory .create_batch (
496497 2 ,
@@ -531,6 +532,7 @@ def test_eru_readiness_create(self):
531532 "equipment_readiness" : ERUReadinessType .ReadinessStatus .READY ,
532533 "people_readiness" : ERUReadinessType .ReadinessStatus .READY ,
533534 "funding_readiness" : ERUReadinessType .ReadinessStatus .READY ,
535+ "ns_contribution" : ERUReadinessType .NationalSocietyContribution .SUPPORTS ,
534536 }
535537 eru_readiness_type_1 = ERUReadinessTypeFactory .create (
536538 type = ERUType .OSH ,
@@ -549,12 +551,14 @@ def test_eru_readiness_create(self):
549551 "equipment_readiness" : eru_readiness_type_1 .equipment_readiness ,
550552 "people_readiness" : eru_readiness_type_1 .people_readiness ,
551553 "funding_readiness" : eru_readiness_type_1 .funding_readiness ,
554+ "ns_contribution" : eru_readiness_type_1 .ns_contribution ,
552555 },
553556 {
554557 "type" : eru_readiness_type_2 .type ,
555558 "equipment_readiness" : eru_readiness_type_2 .equipment_readiness ,
556559 "people_readiness" : eru_readiness_type_2 .people_readiness ,
557560 "funding_readiness" : eru_readiness_type_2 .funding_readiness ,
561+ "ns_contribution" : eru_readiness_type_2 .ns_contribution ,
558562 },
559563 ],
560564 }
@@ -571,6 +575,7 @@ def test_eru_readiness_update(self):
571575 "equipment_readiness" : ERUReadinessType .ReadinessStatus .READY ,
572576 "people_readiness" : ERUReadinessType .ReadinessStatus .READY ,
573577 "funding_readiness" : ERUReadinessType .ReadinessStatus .READY ,
578+ "ns_contribution" : ERUReadinessType .NationalSocietyContribution .HOLDS ,
574579 }
575580 eru_readiness_type_1 = ERUReadinessTypeFactory .create (
576581 type = ERUType .OSH ,
@@ -598,20 +603,23 @@ def test_eru_readiness_update(self):
598603 "equipment_readiness" : ERUReadinessType .ReadinessStatus .NO_CAPACITY ,
599604 "people_readiness" : ERUReadinessType .ReadinessStatus .NO_CAPACITY ,
600605 "funding_readiness" : ERUReadinessType .ReadinessStatus .NO_CAPACITY ,
606+ "ns_contribution" : ERUReadinessType .NationalSocietyContribution .SUPPORTS ,
601607 },
602608 {
603609 "id" : eru_readiness_type_2 .id ,
604610 "type" : eru_readiness_type_2 .type ,
605611 "equipment_readiness" : ERUReadinessType .ReadinessStatus .READY ,
606612 "people_readiness" : ERUReadinessType .ReadinessStatus .READY ,
607613 "funding_readiness" : ERUReadinessType .ReadinessStatus .READY ,
614+ "ns_contribution" : ERUReadinessType .NationalSocietyContribution .SUPPORTS ,
608615 },
609616 # Add new ERU type
610617 {
611618 "type" : ERUType .MHPSS ,
612619 "equipment_readiness" : ERUReadinessType .ReadinessStatus .PARTIAL_CAPACITY ,
613620 "people_readiness" : ERUReadinessType .ReadinessStatus .PARTIAL_CAPACITY ,
614621 "funding_readiness" : ERUReadinessType .ReadinessStatus .PARTIAL_CAPACITY ,
622+ "ns_contribution" : ERUReadinessType .NationalSocietyContribution .HOLDS ,
615623 },
616624 ],
617625 }
@@ -640,23 +648,29 @@ def test_eru_readiness_update(self):
640648 response .data ["eru_types" ][0 ]["equipment_readiness" ],
641649 response .data ["eru_types" ][0 ]["people_readiness" ],
642650 response .data ["eru_types" ][0 ]["funding_readiness" ],
651+ response .data ["eru_types" ][0 ]["ns_contribution" ],
643652 response .data ["eru_types" ][1 ]["equipment_readiness" ],
644653 response .data ["eru_types" ][1 ]["people_readiness" ],
645654 response .data ["eru_types" ][1 ]["funding_readiness" ],
655+ response .data ["eru_types" ][1 ]["ns_contribution" ],
646656 response .data ["eru_types" ][2 ]["equipment_readiness" ],
647657 response .data ["eru_types" ][2 ]["people_readiness" ],
648658 response .data ["eru_types" ][2 ]["funding_readiness" ],
659+ response .data ["eru_types" ][2 ]["ns_contribution" ],
649660 },
650661 {
651662 ERUReadinessType .ReadinessStatus .NO_CAPACITY ,
652663 ERUReadinessType .ReadinessStatus .NO_CAPACITY ,
653664 ERUReadinessType .ReadinessStatus .NO_CAPACITY ,
665+ ERUReadinessType .NationalSocietyContribution .SUPPORTS ,
654666 ERUReadinessType .ReadinessStatus .READY ,
655667 ERUReadinessType .ReadinessStatus .READY ,
656668 ERUReadinessType .ReadinessStatus .READY ,
669+ ERUReadinessType .NationalSocietyContribution .SUPPORTS ,
657670 ERUReadinessType .ReadinessStatus .PARTIAL_CAPACITY ,
658671 ERUReadinessType .ReadinessStatus .PARTIAL_CAPACITY ,
659672 ERUReadinessType .ReadinessStatus .PARTIAL_CAPACITY ,
673+ ERUReadinessType .NationalSocietyContribution .HOLDS ,
660674 },
661675 )
662676
0 commit comments