Files
Odoo-Modules/graphify-out/cache/95ddb690a5840cb6e8b720590f3d9014c6125d608c201fca6d56f00ce975b657.json
gsinghpal 41d0908ade changes
2026-04-24 21:04:38 -04:00

1 line
21 KiB
JSON

{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_depreciation_methods_py", "label": "test_depreciation_methods.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L1"}, {"id": "test_depreciation_methods_teststraightline", "label": "TestStraightLine", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L9"}, {"id": "transactioncase", "label": "TransactionCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "test_depreciation_methods_teststraightline_test_total_equals_cost_minus_salvage", "label": ".test_total_equals_cost_minus_salvage()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L11"}, {"id": "test_depreciation_methods_teststraightline_test_per_period_equal_except_last", "label": ".test_per_period_equal_except_last()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L16"}, {"id": "test_depreciation_methods_teststraightline_test_last_period_absorbs_rounding", "label": ".test_last_period_absorbs_rounding()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L20"}, {"id": "test_depreciation_methods_teststraightline_test_zero_periods_returns_empty", "label": ".test_zero_periods_returns_empty()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L25"}, {"id": "test_depreciation_methods_teststraightline_test_book_value_decreasing", "label": ".test_book_value_decreasing()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L28"}, {"id": "test_depreciation_methods_testdecliningbalance", "label": "TestDecliningBalance", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L35"}, {"id": "test_depreciation_methods_testdecliningbalance_test_total_does_not_exceed_depreciable", "label": ".test_total_does_not_exceed_depreciable()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L37"}, {"id": "test_depreciation_methods_testdecliningbalance_test_does_not_go_below_salvage", "label": ".test_does_not_go_below_salvage()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L42"}, {"id": "test_depreciation_methods_testdecliningbalance_test_zero_rate_returns_empty", "label": ".test_zero_rate_returns_empty()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L47"}, {"id": "test_depreciation_methods_testdecliningbalance_test_pathological_100pct_rate_one_period", "label": ".test_pathological_100pct_rate_one_period()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L50"}, {"id": "test_depreciation_methods_testunitsofproduction", "label": "TestUnitsOfProduction", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L57"}, {"id": "test_depreciation_methods_testunitsofproduction_test_total_proportional_to_units_used", "label": ".test_total_proportional_to_units_used()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L59"}, {"id": "test_depreciation_methods_testunitsofproduction_test_partial_use_partial_depreciation", "label": ".test_partial_use_partial_depreciation()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L68"}, {"id": "test_depreciation_methods_testunitsofproduction_test_zero_total_units_returns_empty", "label": ".test_zero_total_units_returns_empty()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L76"}, {"id": "test_depreciation_methods_testunitsofproduction_test_does_not_overshoot_salvage", "label": ".test_does_not_overshoot_salvage()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L82"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_depreciation_methods_py", "target": "odoo_tests_common", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L1", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_depreciation_methods_py", "target": "odoo_tests", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L2", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_depreciation_methods_py", "target": "odoo_addons_fusion_accounting_assets_services_depreciation_methods", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_depreciation_methods_py", "target": "test_depreciation_methods_teststraightline", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L9", "weight": 1.0}, {"source": "test_depreciation_methods_teststraightline", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L9", "weight": 1.0}, {"source": "test_depreciation_methods_teststraightline", "target": "test_depreciation_methods_teststraightline_test_total_equals_cost_minus_salvage", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L11", "weight": 1.0}, {"source": "test_depreciation_methods_teststraightline", "target": "test_depreciation_methods_teststraightline_test_per_period_equal_except_last", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L16", "weight": 1.0}, {"source": "test_depreciation_methods_teststraightline", "target": "test_depreciation_methods_teststraightline_test_last_period_absorbs_rounding", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L20", "weight": 1.0}, {"source": "test_depreciation_methods_teststraightline", "target": "test_depreciation_methods_teststraightline_test_zero_periods_returns_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L25", "weight": 1.0}, {"source": "test_depreciation_methods_teststraightline", "target": "test_depreciation_methods_teststraightline_test_book_value_decreasing", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L28", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_depreciation_methods_py", "target": "test_depreciation_methods_testdecliningbalance", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L35", "weight": 1.0}, {"source": "test_depreciation_methods_testdecliningbalance", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L35", "weight": 1.0}, {"source": "test_depreciation_methods_testdecliningbalance", "target": "test_depreciation_methods_testdecliningbalance_test_total_does_not_exceed_depreciable", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L37", "weight": 1.0}, {"source": "test_depreciation_methods_testdecliningbalance", "target": "test_depreciation_methods_testdecliningbalance_test_does_not_go_below_salvage", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L42", "weight": 1.0}, {"source": "test_depreciation_methods_testdecliningbalance", "target": "test_depreciation_methods_testdecliningbalance_test_zero_rate_returns_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L47", "weight": 1.0}, {"source": "test_depreciation_methods_testdecliningbalance", "target": "test_depreciation_methods_testdecliningbalance_test_pathological_100pct_rate_one_period", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L50", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_assets_tests_test_depreciation_methods_py", "target": "test_depreciation_methods_testunitsofproduction", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L57", "weight": 1.0}, {"source": "test_depreciation_methods_testunitsofproduction", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L57", "weight": 1.0}, {"source": "test_depreciation_methods_testunitsofproduction", "target": "test_depreciation_methods_testunitsofproduction_test_total_proportional_to_units_used", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L59", "weight": 1.0}, {"source": "test_depreciation_methods_testunitsofproduction", "target": "test_depreciation_methods_testunitsofproduction_test_partial_use_partial_depreciation", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L68", "weight": 1.0}, {"source": "test_depreciation_methods_testunitsofproduction", "target": "test_depreciation_methods_testunitsofproduction_test_zero_total_units_returns_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L76", "weight": 1.0}, {"source": "test_depreciation_methods_testunitsofproduction", "target": "test_depreciation_methods_testunitsofproduction_test_does_not_overshoot_salvage", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L82", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_depreciation_methods_teststraightline_test_total_equals_cost_minus_salvage", "callee": "straight_line", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L12"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_total_equals_cost_minus_salvage", "callee": "sum", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L13"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_total_equals_cost_minus_salvage", "callee": "assertAlmostEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L14"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_per_period_equal_except_last", "callee": "straight_line", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L17"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_per_period_equal_except_last", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L18"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_last_period_absorbs_rounding", "callee": "straight_line", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L21"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_last_period_absorbs_rounding", "callee": "sum", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L22"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_last_period_absorbs_rounding", "callee": "assertAlmostEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L23"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_zero_periods_returns_empty", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L26"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_zero_periods_returns_empty", "callee": "straight_line", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L26"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_book_value_decreasing", "callee": "straight_line", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L29"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_book_value_decreasing", "callee": "range", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L30"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_book_value_decreasing", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L30"}, {"caller_nid": "test_depreciation_methods_teststraightline_test_book_value_decreasing", "callee": "assertLess", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L31"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_total_does_not_exceed_depreciable", "callee": "declining_balance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L38"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_total_does_not_exceed_depreciable", "callee": "sum", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L39"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_total_does_not_exceed_depreciable", "callee": "assertLessEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L40"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_does_not_go_below_salvage", "callee": "declining_balance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L43"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_does_not_go_below_salvage", "callee": "assertGreaterEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L45"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_zero_rate_returns_empty", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L48"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_zero_rate_returns_empty", "callee": "declining_balance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L48"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_pathological_100pct_rate_one_period", "callee": "declining_balance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L51"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_pathological_100pct_rate_one_period", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L52"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_pathological_100pct_rate_one_period", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L52"}, {"caller_nid": "test_depreciation_methods_testdecliningbalance_test_pathological_100pct_rate_one_period", "callee": "assertAlmostEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L53"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_total_proportional_to_units_used", "callee": "units_of_production", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L60"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_total_proportional_to_units_used", "callee": "sum", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L65"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_total_proportional_to_units_used", "callee": "assertAlmostEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L66"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_partial_use_partial_depreciation", "callee": "units_of_production", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L69"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_partial_use_partial_depreciation", "callee": "assertAlmostEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L74"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_zero_total_units_returns_empty", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L77"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_zero_total_units_returns_empty", "callee": "units_of_production", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L78"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_does_not_overshoot_salvage", "callee": "units_of_production", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L83"}, {"caller_nid": "test_depreciation_methods_testunitsofproduction_test_does_not_overshoot_salvage", "callee": "assertAlmostEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_assets/tests/test_depreciation_methods.py", "source_location": "L88"}]}