| 1 |
- {"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "label": "test_duty_schedule.py", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_ok", "label": "test_normalize_person_name_ok()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L31"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_empty", "label": "test_normalize_person_name_empty()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L35"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_too_long", "label": "test_normalize_person_name_too_long()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L40"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_shift_labels", "label": "test_shift_labels()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L45"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "label": "test_grab_rejects_when_full()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L49"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "label": "test_grab_rejects_when_closed()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L111"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "label": "test_grab_rejects_invalid_user()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L129"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "label": "test_grab_rejects_duplicate_same_shift()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "label": "test_save_day_rejects_shrink_below_grab_count()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L224"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "label": "test_resolve_duty_staff_role_id_by_fixed_id()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L298"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_list_duty_staff_users_empty_when_no_role", "label": "test_list_duty_staff_users_empty_when_no_role()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L307"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "label": "test_assert_user_is_duty_staff_rejects_without_role()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L315"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "label": "test_grab_rejects_non_duty_staff()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L336"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "label": "test_save_day_grandfathers_existing_assign_without_role()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L381"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "label": "test_save_day_rejects_new_assign_without_role()", "file_type": "code", "source_file": "tests/test_duty_schedule.py", "source_location": "L469"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_rationale_225", "label": "\u7f29\u5bb9\uff1a\u5df2\u6709 1 \u4eba\u62a2\u73ed\u65f6 capacity=1 \u4e14\u518d\u6307\u5b9a 1 \u4eba\u5e94\u5931\u8d25\u3002", "file_type": "rationale", "source_file": "tests/test_duty_schedule.py", "source_location": "L225"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_rationale_382", "label": "\u5386\u53f2\u6307\u5b9a\u7528\u6237\u65e0\u503c\u73ed\u4eba\u5458\u89d2\u8272\u65f6\uff0c\u539f\u6837\u518d\u4fdd\u5b58\u4e0d\u5f97\u56e0\u89d2\u8272\u6821\u9a8c\u5931\u8d25\u3002", "file_type": "rationale", "source_file": "tests/test_duty_schedule.py", "source_location": "L382"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "types", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "unittest_mock", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "app_models_duty_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "app_schemas_duty", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L19", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "app_services_duty_schedule", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L20", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_ok", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L31", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L35", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_too_long", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L40", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_shift_labels", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L45", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L49", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L111", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L129", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L158", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L224", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L298", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_list_duty_staff_users_empty_when_no_role", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L307", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L315", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L336", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L381", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L469", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_rationale_225", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L225", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_rationale_382", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_duty_schedule.py", "source_location": "L382", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_ok", "callee": "normalize_person_name", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L32", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_empty", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L36", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_empty", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L36"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_empty", "callee": "normalize_person_name", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L37", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_too_long", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L41", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_too_long", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L41"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_too_long", "callee": "normalize_person_name", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L42", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L50", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L51", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "LINK_OPEN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L54"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L55", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L59", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L62"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L66", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L75", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L77", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L79", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L81", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L81"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L82", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L84", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L85", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L85"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "query_side_effect", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L105"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L107", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L107"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "grab", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L108", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L108"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L112", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L113", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "LINK_CLOSED", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L116"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L117", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L121", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L125", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L125"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "grab", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L126", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L126"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L130", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L131", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "LINK_OPEN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L134"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L135", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L139", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L141", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "query_side_effect", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L152"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L154", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L154"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "grab", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L155", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L155"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L159", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L160", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "LINK_OPEN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L163"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L164", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L168", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L171"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L175", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L183", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L185", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L187", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L189", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L191", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L191"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L192", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L194", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L195", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L195"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "query_side_effect", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L218"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L220", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L220"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "grab", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L221", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L221"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L226", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L227", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "LINK_OPEN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L231"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L229", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L237", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L240"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L247", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "SOURCE_GRAB", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L250"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L256", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L258", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L260", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L262", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "query_side_effect", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L279"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "DutyDaySaveBody", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L281", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L282", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "DutySlotSaveIn", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L284", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L285"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "DutyAssignmentIn", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L288", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L294", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L294"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "callee": "save_day", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L295", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L299", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L300", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L300"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "callee": "DUTY_STAFF_ROLE_NAME", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L300"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L301", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "callee": "resolve_duty_staff_role_id", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L304", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_list_duty_staff_users_empty_when_no_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L308", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_list_duty_staff_users_empty_when_no_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L309", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_list_duty_staff_users_empty_when_no_role", "callee": "list_duty_staff_users", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L312", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L316", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L317", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L317"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L318", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L320", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "query_side_effect", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L331"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L332", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L332"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "callee": "assert_user_is_duty_staff", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L333", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L337", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L338", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "LINK_OPEN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L341"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L342", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L346", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L354", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L356", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L358", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L358"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L359", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L361", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "query_side_effect", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L376"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L377", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L377"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "grab", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L378", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L378"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L383", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L384", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "LINK_OPEN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L388"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L386", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L394", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L397"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L404", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "SOURCE_ASSIGN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L407"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L415", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L417", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L419", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L419"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L420", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L422", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L424", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L425", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "query_side_effect", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L448"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "DutyDaySaveBody", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L450", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L451", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "DutySlotSaveIn", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L453", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L454"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "DutyAssignmentIn", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L457", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "save_day", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L464", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "callee": "assert_called", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L466", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L471", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L472", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "LINK_OPEN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L476"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L474", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L482", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L485"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L492", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "SOURCE_ASSIGN", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L495"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L503", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L505", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L507", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "DUTY_STAFF_ROLE_ID", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L507"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L508", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L510", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "MagicMock", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L512", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "SimpleNamespace", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L513", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "query_side_effect", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L536"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "DutyDaySaveBody", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L538", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L539", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "DutySlotSaveIn", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L541", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "SHIFT_EVENING", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L542"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "DutyAssignmentIn", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L545", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "raises", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L551", "receiver": "pytest"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "DutyBizError", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L551"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "callee": "save_day", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_duty_schedule.py", "source_location": "L552", "receiver": null}], "callable_nids": ["users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_assert_user_is_duty_staff_rejects_without_role", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_duplicate_same_shift", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_invalid_user", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_non_duty_staff", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_closed", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_grab_rejects_when_full", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_list_duty_staff_users_empty_when_no_role", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_empty", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_ok", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_normalize_person_name_too_long", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_resolve_duty_staff_role_id_by_fixed_id", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_grandfathers_existing_assign_without_role", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_new_assign_without_role", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_save_day_rejects_shrink_below_grab_count", "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_duty_schedule_test_shift_labels"]}
|