1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_useful_life_predictor_py", "label": "test_useful_life_predictor.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L1"}, {"id": "test_useful_life_predictor_testusefullifepredictor", "label": "TestUsefulLifePredictor", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L12"}, {"id": "transactioncase", "label": "TransactionCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "test_useful_life_predictor_testusefullifepredictor_setup", "label": ".setUp()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L14"}, {"id": "test_useful_life_predictor_testusefullifepredictor_test_fallback_computer", "label": ".test_fallback_computer()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L24"}, {"id": "test_useful_life_predictor_testusefullifepredictor_test_fallback_furniture", "label": ".test_fallback_furniture()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L29"}, {"id": "test_useful_life_predictor_testusefullifepredictor_test_fallback_vehicle_uses_declining", "label": ".test_fallback_vehicle_uses_declining()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L33"}, {"id": "test_useful_life_predictor_testusefullifepredictor_test_fallback_default_for_unknown", "label": ".test_fallback_default_for_unknown()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L38"}, {"id": "test_useful_life_predictor_testusefullifepredictor_test_returns_dict_with_required_keys", "label": ".test_returns_dict_with_required_keys()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L43"}, {"id": "test_useful_life_predictor_testusefullifeprompt", "label": "TestUsefulLifePrompt", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L50"}, {"id": "test_useful_life_predictor_testusefullifeprompt_test_system_prompt_requires_json", "label": ".test_system_prompt_requires_json()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L52"}, {"id": "test_useful_life_predictor_testusefullifeprompt_test_build_prompt_returns_tuple", "label": ".test_build_prompt_returns_tuple()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L55"}, {"id": "test_useful_life_predictor_testusefullifeprompt_test_user_prompt_includes_amount", "label": ".test_user_prompt_includes_amount()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L59"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_useful_life_predictor_py", "target": "odoo_tests_common", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L1", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_useful_life_predictor_py", "target": "odoo_tests", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L2", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_useful_life_predictor_py", "target": "odoo_addons_fusion_accounting_assets_services_useful_life_predictor", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_useful_life_predictor_py", "target": "odoo_addons_fusion_accounting_assets_services_useful_life_prompt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_useful_life_predictor_py", "target": "test_useful_life_predictor_testusefullifepredictor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L12", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifepredictor", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L12", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifepredictor", "target": "test_useful_life_predictor_testusefullifepredictor_setup", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L14", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifepredictor", "target": "test_useful_life_predictor_testusefullifepredictor_test_fallback_computer", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L24", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifepredictor", "target": "test_useful_life_predictor_testusefullifepredictor_test_fallback_furniture", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L29", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifepredictor", "target": "test_useful_life_predictor_testusefullifepredictor_test_fallback_vehicle_uses_declining", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L33", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifepredictor", "target": "test_useful_life_predictor_testusefullifepredictor_test_fallback_default_for_unknown", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L38", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifepredictor", "target": "test_useful_life_predictor_testusefullifepredictor_test_returns_dict_with_required_keys", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L43", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_useful_life_predictor_py", "target": "test_useful_life_predictor_testusefullifeprompt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L50", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifeprompt", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L50", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifeprompt", "target": "test_useful_life_predictor_testusefullifeprompt_test_system_prompt_requires_json", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L52", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifeprompt", "target": "test_useful_life_predictor_testusefullifeprompt_test_build_prompt_returns_tuple", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L55", "weight": 1.0}, {"source": "test_useful_life_predictor_testusefullifeprompt", "target": "test_useful_life_predictor_testusefullifeprompt_test_user_prompt_includes_amount", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L59", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_useful_life_predictor_testusefullifepredictor_setup", "callee": "super", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L15"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_setup", "callee": "unlink", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L17"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_setup", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L17"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_setup", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L17"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_computer", "callee": "predict_useful_life", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L25"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_computer", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L26"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_computer", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L27"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_furniture", "callee": "predict_useful_life", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L30"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_furniture", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L31"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_vehicle_uses_declining", "callee": "predict_useful_life", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L34"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_vehicle_uses_declining", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L35"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_vehicle_uses_declining", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L36"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_default_for_unknown", "callee": "predict_useful_life", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L39"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_default_for_unknown", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L40"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_fallback_default_for_unknown", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L41"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_returns_dict_with_required_keys", "callee": "predict_useful_life", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L44"}, {"caller_nid": "test_useful_life_predictor_testusefullifepredictor_test_returns_dict_with_required_keys", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L46"}, {"caller_nid": "test_useful_life_predictor_testusefullifeprompt_test_system_prompt_requires_json", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L53"}, {"caller_nid": "test_useful_life_predictor_testusefullifeprompt_test_build_prompt_returns_tuple", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L56"}, {"caller_nid": "test_useful_life_predictor_testusefullifeprompt_test_build_prompt_returns_tuple", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L57"}, {"caller_nid": "test_useful_life_predictor_testusefullifeprompt_test_build_prompt_returns_tuple", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L57"}, {"caller_nid": "test_useful_life_predictor_testusefullifeprompt_test_user_prompt_includes_amount", "callee": "build_prompt", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L60"}, {"caller_nid": "test_useful_life_predictor_testusefullifeprompt_test_user_prompt_includes_amount", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_useful_life_predictor.py", "source_location": "L61"}]} |