1 line
9.4 KiB
JSON
1 line
9.4 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_tests_test_safety_guard_py", "label": "test_safety_guard.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L1"}, {"id": "test_safety_guard_testsafetyguard", "label": "TestSafetyGuard", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L6"}, {"id": "transactioncase", "label": "TransactionCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "label": ".test_uninstall_not_blocked_when_migration_completed()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L9"}, {"id": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "label": ".test_uninstall_blocked_when_migration_pending()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L28"}, {"id": "test_safety_guard_rationale_7", "label": "Verify the safety guard blocks Enterprise uninstall when migration hasn't run.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L7"}, {"id": "test_safety_guard_rationale_10", "label": "If the per-module migration flag is set, uninstall is allowed. Skip if", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L10"}, {"id": "test_safety_guard_rationale_29", "label": "If account_accountant is installed and migration not run, raise.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L29"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_tests_test_safety_guard_py", "target": "odoo_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L1", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_tests_test_safety_guard_py", "target": "odoo_tests_common", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L2", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_tests_test_safety_guard_py", "target": "test_safety_guard_testsafetyguard", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L6", "weight": 1.0}, {"source": "test_safety_guard_testsafetyguard", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L6", "weight": 1.0}, {"source": "test_safety_guard_testsafetyguard", "target": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L9", "weight": 1.0}, {"source": "test_safety_guard_testsafetyguard", "target": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L28", "weight": 1.0}, {"source": "test_safety_guard_rationale_7", "target": "test_safety_guard_testsafetyguard", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L7", "weight": 1.0}, {"source": "test_safety_guard_rationale_10", "target": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L10", "weight": 1.0}, {"source": "test_safety_guard_rationale_29", "target": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L29", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L16"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "callee": "search_count", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L17"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "callee": "skipTest", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L21"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "callee": "set_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L22"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L22"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "callee": "_fusion_check_uninstall_guard", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L25"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_not_blocked_when_migration_completed", "callee": "assertTrue", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L26"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "set_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L30"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L30"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L33"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "search_count", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L34"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "skipTest", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L39"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "assertRaises", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L40"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "_fusion_check_uninstall_guard", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L41"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "assertIn", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L42"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "lower", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L42"}, {"caller_nid": "test_safety_guard_testsafetyguard_test_uninstall_blocked_when_migration_pending", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/tests/test_safety_guard.py", "source_location": "L42"}]} |