1 line
38 KiB
JSON
1 line
38 KiB
JSON
{"nodes": [{"id": "backend_tests_test_exports_py", "label": "test_exports.py", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L1"}, {"id": "test_exports_testinventorysnapshotexporter", "label": "TestInventorySnapshotExporter", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L20"}, {"id": "test_exports_sample_items", "label": "sample_items()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L24"}, {"id": "test_exports_testinventorysnapshotexporter_test_csv_export_basic", "label": ".test_csv_export_basic()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L47"}, {"id": "test_exports_testinventorysnapshotexporter_test_csv_export_headers", "label": ".test_csv_export_headers()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L63"}, {"id": "test_exports_testinventorysnapshotexporter_test_csv_export_empty", "label": ".test_csv_export_empty()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L76"}, {"id": "test_exports_testinventorysnapshotexporter_test_excel_export_basic", "label": ".test_excel_export_basic()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L84"}, {"id": "test_exports_testinventorysnapshotexporter_test_excel_export_headers", "label": ".test_excel_export_headers()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L98"}, {"id": "test_exports_testinventorysnapshotexporter_test_excel_export_data", "label": ".test_excel_export_data()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L113"}, {"id": "test_exports_testinventorysnapshotexporter_test_excel_export_empty", "label": ".test_excel_export_empty()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L124"}, {"id": "test_exports_testaudittrailexporter", "label": "TestAuditTrailExporter", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L135"}, {"id": "test_exports_sample_logs", "label": "sample_logs()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L139"}, {"id": "test_exports_testaudittrailexporter_test_csv_export_basic", "label": ".test_csv_export_basic()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L160"}, {"id": "test_exports_testaudittrailexporter_test_csv_export_headers", "label": ".test_csv_export_headers()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L173"}, {"id": "test_exports_testaudittrailexporter_test_excel_export_basic", "label": ".test_excel_export_basic()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L186"}, {"id": "test_exports_testaudittrailexporter_test_excel_export_data", "label": ".test_excel_export_data()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L198"}, {"id": "test_exports_testfilenamegeneration", "label": "TestFilenameGeneration", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L210"}, {"id": "test_exports_testfilenamegeneration_test_csv_filename", "label": ".test_csv_filename()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L213"}, {"id": "test_exports_testfilenamegeneration_test_xlsx_filename", "label": ".test_xlsx_filename()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L218"}, {"id": "test_exports_testfilenamegeneration_test_filename_with_different_dates", "label": ".test_filename_with_different_dates()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L223"}, {"id": "test_exports_testexportendpoints", "label": "TestExportEndpoints", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L229"}, {"id": "test_exports_test_export_inventory_snapshot_csv", "label": "test_export_inventory_snapshot_csv()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L233"}, {"id": "test_exports_test_export_inventory_snapshot_xlsx", "label": "test_export_inventory_snapshot_xlsx()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L245"}, {"id": "test_exports_test_export_audit_trail_csv", "label": "test_export_audit_trail_csv()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L256"}, {"id": "test_exports_test_export_audit_trail_xlsx", "label": "test_export_audit_trail_xlsx()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L268"}, {"id": "test_exports_test_export_invalid_format", "label": "test_export_invalid_format()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L279"}, {"id": "test_exports_test_export_unauthorized", "label": "test_export_unauthorized()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L290"}, {"id": "test_exports_test_export_non_admin", "label": "test_export_non_admin()", "file_type": "code", "source_file": "backend/tests/test_exports.py", "source_location": "L297"}, {"id": "test_exports_rationale_1", "label": "Tests for export service and export endpoints.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L1"}, {"id": "test_exports_rationale_21", "label": "Tests for inventory snapshot export functionality.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L21"}, {"id": "test_exports_rationale_25", "label": "Create sample items for testing.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L25"}, {"id": "test_exports_rationale_48", "label": "Test CSV export with sample items.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L48"}, {"id": "test_exports_rationale_64", "label": "Test CSV export contains all expected headers.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L64"}, {"id": "test_exports_rationale_77", "label": "Test CSV export with empty item list.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L77"}, {"id": "test_exports_rationale_85", "label": "Test Excel export with sample items.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L85"}, {"id": "test_exports_rationale_99", "label": "Test Excel export contains all headers.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L99"}, {"id": "test_exports_rationale_114", "label": "Test Excel export contains correct data.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L114"}, {"id": "test_exports_rationale_125", "label": "Test Excel export with empty item list.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L125"}, {"id": "test_exports_rationale_136", "label": "Tests for audit trail export functionality.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L136"}, {"id": "test_exports_rationale_140", "label": "Create sample audit logs for testing.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L140"}, {"id": "test_exports_rationale_161", "label": "Test audit trail CSV export with sample logs.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L161"}, {"id": "test_exports_rationale_174", "label": "Test audit trail CSV export headers.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L174"}, {"id": "test_exports_rationale_187", "label": "Test audit trail Excel export.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L187"}, {"id": "test_exports_rationale_199", "label": "Test audit trail Excel export contains correct data.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L199"}, {"id": "test_exports_rationale_211", "label": "Tests for export filename generation.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L211"}, {"id": "test_exports_rationale_214", "label": "Test CSV filename generation.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L214"}, {"id": "test_exports_rationale_219", "label": "Test Excel filename generation.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L219"}, {"id": "test_exports_rationale_224", "label": "Test filename with different date formats.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L224"}, {"id": "test_exports_rationale_230", "label": "Tests for export API endpoints.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L230"}, {"id": "test_exports_rationale_234", "label": "Test inventory snapshot CSV export endpoint.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L234"}, {"id": "test_exports_rationale_246", "label": "Test inventory snapshot Excel export endpoint.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L246"}, {"id": "test_exports_rationale_257", "label": "Test audit trail CSV export endpoint.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L257"}, {"id": "test_exports_rationale_269", "label": "Test audit trail Excel export endpoint.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L269"}, {"id": "test_exports_rationale_280", "label": "Test export with invalid format parameter.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L280"}, {"id": "test_exports_rationale_291", "label": "Test export endpoint without authorization.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L291"}, {"id": "test_exports_rationale_298", "label": "Test export endpoint with non-admin user.", "file_type": "rationale", "source_file": "backend/tests/test_exports.py", "source_location": "L298"}], "edges": [{"source": "backend_tests_test_exports_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "io", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "csv", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "unittest_mock", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "openpyxl", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "backend_services_export_service", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "backend_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_testinventorysnapshotexporter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_sample_items", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L24", "weight": 1.0}, {"source": "test_exports_testinventorysnapshotexporter", "target": "test_exports_testinventorysnapshotexporter_test_csv_export_basic", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L47", "weight": 1.0}, {"source": "test_exports_testinventorysnapshotexporter", "target": "test_exports_testinventorysnapshotexporter_test_csv_export_headers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L63", "weight": 1.0}, {"source": "test_exports_testinventorysnapshotexporter", "target": "test_exports_testinventorysnapshotexporter_test_csv_export_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L76", "weight": 1.0}, {"source": "test_exports_testinventorysnapshotexporter", "target": "test_exports_testinventorysnapshotexporter_test_excel_export_basic", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L84", "weight": 1.0}, {"source": "test_exports_testinventorysnapshotexporter", "target": "test_exports_testinventorysnapshotexporter_test_excel_export_headers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L98", "weight": 1.0}, {"source": "test_exports_testinventorysnapshotexporter", "target": "test_exports_testinventorysnapshotexporter_test_excel_export_data", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L113", "weight": 1.0}, {"source": "test_exports_testinventorysnapshotexporter", "target": "test_exports_testinventorysnapshotexporter_test_excel_export_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L124", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_testaudittrailexporter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L135", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_sample_logs", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L139", "weight": 1.0}, {"source": "test_exports_testaudittrailexporter", "target": "test_exports_testaudittrailexporter_test_csv_export_basic", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L160", "weight": 1.0}, {"source": "test_exports_testaudittrailexporter", "target": "test_exports_testaudittrailexporter_test_csv_export_headers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L173", "weight": 1.0}, {"source": "test_exports_testaudittrailexporter", "target": "test_exports_testaudittrailexporter_test_excel_export_basic", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L186", "weight": 1.0}, {"source": "test_exports_testaudittrailexporter", "target": "test_exports_testaudittrailexporter_test_excel_export_data", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L198", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_testfilenamegeneration", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L210", "weight": 1.0}, {"source": "test_exports_testfilenamegeneration", "target": "test_exports_testfilenamegeneration_test_csv_filename", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L213", "weight": 1.0}, {"source": "test_exports_testfilenamegeneration", "target": "test_exports_testfilenamegeneration_test_xlsx_filename", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L218", "weight": 1.0}, {"source": "test_exports_testfilenamegeneration", "target": "test_exports_testfilenamegeneration_test_filename_with_different_dates", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L223", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_testexportendpoints", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L229", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_test_export_inventory_snapshot_csv", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L233", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_test_export_inventory_snapshot_xlsx", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L245", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_test_export_audit_trail_csv", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L256", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_test_export_audit_trail_xlsx", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L268", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_test_export_invalid_format", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L279", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_test_export_unauthorized", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L290", "weight": 1.0}, {"source": "backend_tests_test_exports_py", "target": "test_exports_test_export_non_admin", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L297", "weight": 1.0}, {"source": "test_exports_rationale_1", "target": "backend_tests_test_exports_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L1", "weight": 1.0}, {"source": "test_exports_rationale_21", "target": "test_exports_testinventorysnapshotexporter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L21", "weight": 1.0}, {"source": "test_exports_rationale_25", "target": "test_exports_testinventorysnapshotexporter_sample_items", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L25", "weight": 1.0}, {"source": "test_exports_rationale_48", "target": "test_exports_testinventorysnapshotexporter_test_csv_export_basic", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L48", "weight": 1.0}, {"source": "test_exports_rationale_64", "target": "test_exports_testinventorysnapshotexporter_test_csv_export_headers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L64", "weight": 1.0}, {"source": "test_exports_rationale_77", "target": "test_exports_testinventorysnapshotexporter_test_csv_export_empty", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L77", "weight": 1.0}, {"source": "test_exports_rationale_85", "target": "test_exports_testinventorysnapshotexporter_test_excel_export_basic", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L85", "weight": 1.0}, {"source": "test_exports_rationale_99", "target": "test_exports_testinventorysnapshotexporter_test_excel_export_headers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L99", "weight": 1.0}, {"source": "test_exports_rationale_114", "target": "test_exports_testinventorysnapshotexporter_test_excel_export_data", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L114", "weight": 1.0}, {"source": "test_exports_rationale_125", "target": "test_exports_testinventorysnapshotexporter_test_excel_export_empty", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L125", "weight": 1.0}, {"source": "test_exports_rationale_136", "target": "test_exports_testaudittrailexporter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L136", "weight": 1.0}, {"source": "test_exports_rationale_140", "target": "test_exports_testaudittrailexporter_sample_logs", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L140", "weight": 1.0}, {"source": "test_exports_rationale_161", "target": "test_exports_testaudittrailexporter_test_csv_export_basic", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L161", "weight": 1.0}, {"source": "test_exports_rationale_174", "target": "test_exports_testaudittrailexporter_test_csv_export_headers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L174", "weight": 1.0}, {"source": "test_exports_rationale_187", "target": "test_exports_testaudittrailexporter_test_excel_export_basic", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L187", "weight": 1.0}, {"source": "test_exports_rationale_199", "target": "test_exports_testaudittrailexporter_test_excel_export_data", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L199", "weight": 1.0}, {"source": "test_exports_rationale_211", "target": "test_exports_testfilenamegeneration", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L211", "weight": 1.0}, {"source": "test_exports_rationale_214", "target": "test_exports_testfilenamegeneration_test_csv_filename", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L214", "weight": 1.0}, {"source": "test_exports_rationale_219", "target": "test_exports_testfilenamegeneration_test_xlsx_filename", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L219", "weight": 1.0}, {"source": "test_exports_rationale_224", "target": "test_exports_testfilenamegeneration_test_filename_with_different_dates", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L224", "weight": 1.0}, {"source": "test_exports_rationale_230", "target": "test_exports_testexportendpoints", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L230", "weight": 1.0}, {"source": "test_exports_rationale_234", "target": "test_exports_testexportendpoints_test_export_inventory_snapshot_csv", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L234", "weight": 1.0}, {"source": "test_exports_rationale_246", "target": "test_exports_testexportendpoints_test_export_inventory_snapshot_xlsx", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L246", "weight": 1.0}, {"source": "test_exports_rationale_257", "target": "test_exports_testexportendpoints_test_export_audit_trail_csv", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L257", "weight": 1.0}, {"source": "test_exports_rationale_269", "target": "test_exports_testexportendpoints_test_export_audit_trail_xlsx", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L269", "weight": 1.0}, {"source": "test_exports_rationale_280", "target": "test_exports_testexportendpoints_test_export_invalid_format", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L280", "weight": 1.0}, {"source": "test_exports_rationale_291", "target": "test_exports_testexportendpoints_test_export_unauthorized", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L291", "weight": 1.0}, {"source": "test_exports_rationale_298", "target": "test_exports_testexportendpoints_test_export_non_admin", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_exports.py", "source_location": "L298", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_exports_sample_items", "callee": "range", "source_file": "backend/tests/test_exports.py", "source_location": "L27"}, {"caller_nid": "test_exports_sample_items", "callee": "MagicMock", "source_file": "backend/tests/test_exports.py", "source_location": "L28"}, {"caller_nid": "test_exports_sample_items", "callee": "float", "source_file": "backend/tests/test_exports.py", "source_location": "L35"}, {"caller_nid": "test_exports_sample_items", "callee": "datetime", "source_file": "backend/tests/test_exports.py", "source_location": "L42"}, {"caller_nid": "test_exports_sample_items", "callee": "datetime", "source_file": "backend/tests/test_exports.py", "source_location": "L43"}, {"caller_nid": "test_exports_sample_items", "callee": "append", "source_file": "backend/tests/test_exports.py", "source_location": "L44"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_basic", "callee": "to_csv", "source_file": "backend/tests/test_exports.py", "source_location": "L49"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_basic", "callee": "DictReader", "source_file": "backend/tests/test_exports.py", "source_location": "L57"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_basic", "callee": "StringIO", "source_file": "backend/tests/test_exports.py", "source_location": "L57"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_basic", "callee": "list", "source_file": "backend/tests/test_exports.py", "source_location": "L58"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_basic", "callee": "len", "source_file": "backend/tests/test_exports.py", "source_location": "L59"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_headers", "callee": "to_csv", "source_file": "backend/tests/test_exports.py", "source_location": "L65"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_headers", "callee": "DictReader", "source_file": "backend/tests/test_exports.py", "source_location": "L73"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_headers", "callee": "StringIO", "source_file": "backend/tests/test_exports.py", "source_location": "L73"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_headers", "callee": "list", "source_file": "backend/tests/test_exports.py", "source_location": "L74"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_csv_export_empty", "callee": "to_csv", "source_file": "backend/tests/test_exports.py", "source_location": "L78"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_basic", "callee": "to_excel", "source_file": "backend/tests/test_exports.py", "source_location": "L86"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_basic", "callee": "isinstance", "source_file": "backend/tests/test_exports.py", "source_location": "L89"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_basic", "callee": "len", "source_file": "backend/tests/test_exports.py", "source_location": "L90"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_basic", "callee": "load_workbook", "source_file": "backend/tests/test_exports.py", "source_location": "L93"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_basic", "callee": "BytesIO", "source_file": "backend/tests/test_exports.py", "source_location": "L93"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_headers", "callee": "to_excel", "source_file": "backend/tests/test_exports.py", "source_location": "L100"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_headers", "callee": "load_workbook", "source_file": "backend/tests/test_exports.py", "source_location": "L101"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_headers", "callee": "BytesIO", "source_file": "backend/tests/test_exports.py", "source_location": "L101"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_data", "callee": "to_excel", "source_file": "backend/tests/test_exports.py", "source_location": "L115"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_data", "callee": "load_workbook", "source_file": "backend/tests/test_exports.py", "source_location": "L116"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_data", "callee": "BytesIO", "source_file": "backend/tests/test_exports.py", "source_location": "L116"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_data", "callee": "list", "source_file": "backend/tests/test_exports.py", "source_location": "L120"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_empty", "callee": "to_excel", "source_file": "backend/tests/test_exports.py", "source_location": "L126"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_empty", "callee": "load_workbook", "source_file": "backend/tests/test_exports.py", "source_location": "L127"}, {"caller_nid": "test_exports_testinventorysnapshotexporter_test_excel_export_empty", "callee": "BytesIO", "source_file": "backend/tests/test_exports.py", "source_location": "L127"}, {"caller_nid": "test_exports_sample_logs", "callee": "range", "source_file": "backend/tests/test_exports.py", "source_location": "L142"}, {"caller_nid": "test_exports_sample_logs", "callee": "MagicMock", "source_file": "backend/tests/test_exports.py", "source_location": "L143"}, {"caller_nid": "test_exports_sample_logs", "callee": "MagicMock", "source_file": "backend/tests/test_exports.py", "source_location": "L146"}, {"caller_nid": "test_exports_sample_logs", "callee": "datetime", "source_file": "backend/tests/test_exports.py", "source_location": "L148"}, {"caller_nid": "test_exports_sample_logs", "callee": "float", "source_file": "backend/tests/test_exports.py", "source_location": "L155"}, {"caller_nid": "test_exports_sample_logs", "callee": "append", "source_file": "backend/tests/test_exports.py", "source_location": "L157"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_basic", "callee": "to_csv", "source_file": "backend/tests/test_exports.py", "source_location": "L162"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_basic", "callee": "DictReader", "source_file": "backend/tests/test_exports.py", "source_location": "L169"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_basic", "callee": "StringIO", "source_file": "backend/tests/test_exports.py", "source_location": "L169"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_basic", "callee": "list", "source_file": "backend/tests/test_exports.py", "source_location": "L170"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_basic", "callee": "len", "source_file": "backend/tests/test_exports.py", "source_location": "L171"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_headers", "callee": "to_csv", "source_file": "backend/tests/test_exports.py", "source_location": "L175"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_headers", "callee": "DictReader", "source_file": "backend/tests/test_exports.py", "source_location": "L183"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_headers", "callee": "StringIO", "source_file": "backend/tests/test_exports.py", "source_location": "L183"}, {"caller_nid": "test_exports_testaudittrailexporter_test_csv_export_headers", "callee": "list", "source_file": "backend/tests/test_exports.py", "source_location": "L184"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_basic", "callee": "to_excel", "source_file": "backend/tests/test_exports.py", "source_location": "L188"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_basic", "callee": "isinstance", "source_file": "backend/tests/test_exports.py", "source_location": "L190"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_basic", "callee": "len", "source_file": "backend/tests/test_exports.py", "source_location": "L191"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_basic", "callee": "load_workbook", "source_file": "backend/tests/test_exports.py", "source_location": "L193"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_basic", "callee": "BytesIO", "source_file": "backend/tests/test_exports.py", "source_location": "L193"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_data", "callee": "to_excel", "source_file": "backend/tests/test_exports.py", "source_location": "L200"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_data", "callee": "load_workbook", "source_file": "backend/tests/test_exports.py", "source_location": "L201"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_data", "callee": "BytesIO", "source_file": "backend/tests/test_exports.py", "source_location": "L201"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_data", "callee": "list", "source_file": "backend/tests/test_exports.py", "source_location": "L205"}, {"caller_nid": "test_exports_testaudittrailexporter_test_excel_export_data", "callee": "str", "source_file": "backend/tests/test_exports.py", "source_location": "L207"}, {"caller_nid": "test_exports_testfilenamegeneration_test_csv_filename", "callee": "get_export_filename", "source_file": "backend/tests/test_exports.py", "source_location": "L215"}, {"caller_nid": "test_exports_testfilenamegeneration_test_xlsx_filename", "callee": "get_export_filename", "source_file": "backend/tests/test_exports.py", "source_location": "L220"}, {"caller_nid": "test_exports_testfilenamegeneration_test_filename_with_different_dates", "callee": "get_export_filename", "source_file": "backend/tests/test_exports.py", "source_location": "L225"}, {"caller_nid": "test_exports_test_export_inventory_snapshot_csv", "callee": "post", "source_file": "backend/tests/test_exports.py", "source_location": "L235"}, {"caller_nid": "test_exports_test_export_inventory_snapshot_csv", "callee": "get", "source_file": "backend/tests/test_exports.py", "source_location": "L241"}, {"caller_nid": "test_exports_test_export_inventory_snapshot_csv", "callee": "get", "source_file": "backend/tests/test_exports.py", "source_location": "L242"}, {"caller_nid": "test_exports_test_export_inventory_snapshot_xlsx", "callee": "post", "source_file": "backend/tests/test_exports.py", "source_location": "L247"}, {"caller_nid": "test_exports_test_export_inventory_snapshot_xlsx", "callee": "get", "source_file": "backend/tests/test_exports.py", "source_location": "L253"}, {"caller_nid": "test_exports_test_export_audit_trail_csv", "callee": "post", "source_file": "backend/tests/test_exports.py", "source_location": "L258"}, {"caller_nid": "test_exports_test_export_audit_trail_csv", "callee": "get", "source_file": "backend/tests/test_exports.py", "source_location": "L264"}, {"caller_nid": "test_exports_test_export_audit_trail_csv", "callee": "get", "source_file": "backend/tests/test_exports.py", "source_location": "L265"}, {"caller_nid": "test_exports_test_export_audit_trail_xlsx", "callee": "post", "source_file": "backend/tests/test_exports.py", "source_location": "L270"}, {"caller_nid": "test_exports_test_export_audit_trail_xlsx", "callee": "get", "source_file": "backend/tests/test_exports.py", "source_location": "L276"}, {"caller_nid": "test_exports_test_export_invalid_format", "callee": "post", "source_file": "backend/tests/test_exports.py", "source_location": "L281"}, {"caller_nid": "test_exports_test_export_invalid_format", "callee": "get", "source_file": "backend/tests/test_exports.py", "source_location": "L287"}, {"caller_nid": "test_exports_test_export_invalid_format", "callee": "json", "source_file": "backend/tests/test_exports.py", "source_location": "L287"}, {"caller_nid": "test_exports_test_export_unauthorized", "callee": "post", "source_file": "backend/tests/test_exports.py", "source_location": "L292"}, {"caller_nid": "test_exports_test_export_non_admin", "callee": "post", "source_file": "backend/tests/test_exports.py", "source_location": "L299"}]} |