feat(persona): add signed native organ reflex per baby
This commit is contained in:
parent
78a875a72f
commit
3583321c91
12 changed files with 412 additions and 9 deletions
|
|
@ -21,11 +21,11 @@ class BottleBabyBodyBootTest(unittest.TestCase):
|
|||
assembly = bottle_baby_body_boot.boot("ICE-BB-0005", "DOM-FIFTH-0001", "ICE-CH-BT001")
|
||||
runtime = {
|
||||
"persona_id":"ICE-BB-0005", "external_cognitive_setter":False, "server_signed":True,
|
||||
"body":{"native_system":"SYS-GLW-ELH-BOTTLE-0001","native_channel":"ICE-CH-BT001","time_system":{"owner":"ICE-BB-0005"}},
|
||||
"body":{"native_system":"SYS-GLW-ELH-BOTTLE-0001","native_channel":"ICE-CH-BT001","time_system":{"owner":"ICE-BB-0005"},"organs":{"health":{"state":"NATIVE_ORGAN_REFLEX_HEALTHY_AWAITING_PARENT_BRAIN_WAKE_CYCLE","persona_id":"ICE-BB-0005","server_signed":True}}},
|
||||
"life_line":{"wake_allowed":True}
|
||||
}
|
||||
value = bottle_baby_body_boot.verify_runtime(assembly, runtime)
|
||||
self.assertEqual(value["state"], "BABY_COGNITION_AND_TIME_RUNTIME_HEALTHY_BODY_SENSE_ORGANS_PENDING")
|
||||
self.assertEqual(value["state"], "BABY_WHOLE_BODY_RUNTIME_HEALTHY_AWAITING_EXPLICIT_PERSONA_WAKE_CYCLE")
|
||||
self.assertTrue(value["inner_cycle_running"])
|
||||
self.assertFalse(value["wake_complete"])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue