1 line
39 KiB
JSON
1 line
39 KiB
JSON
{"nodes": [{"id": "backend_tests_test_photo_endpoints_py", "label": "test_photo_endpoints.py", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L1"}, {"id": "test_photo_endpoints_test_item", "label": "test_item()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L30"}, {"id": "test_photo_endpoints_sample_image", "label": "sample_image()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L46"}, {"id": "test_photo_endpoints_large_image", "label": "large_image()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L59"}, {"id": "test_photo_endpoints_invalid_file", "label": "invalid_file()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L75"}, {"id": "test_photo_endpoints_test_upload_photo_success", "label": "test_upload_photo_success()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L84"}, {"id": "test_photo_endpoints_test_upload_photo_creates_files", "label": "test_upload_photo_creates_files()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L112"}, {"id": "test_photo_endpoints_test_upload_photo_replace_existing", "label": "test_upload_photo_replace_existing()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L138"}, {"id": "test_photo_endpoints_test_upload_photo_requires_auth", "label": "test_upload_photo_requires_auth()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L185"}, {"id": "test_photo_endpoints_test_upload_photo_with_valid_token", "label": "test_upload_photo_with_valid_token()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L195"}, {"id": "test_photo_endpoints_test_upload_photo_invalid_mime_type", "label": "test_upload_photo_invalid_mime_type()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L214"}, {"id": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "label": "test_upload_photo_accepted_mime_types()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L226"}, {"id": "test_photo_endpoints_test_upload_photo_too_large", "label": "test_upload_photo_too_large()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L248"}, {"id": "test_photo_endpoints_test_upload_photo_item_not_found", "label": "test_upload_photo_item_not_found()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L264"}, {"id": "test_photo_endpoints_test_get_item_includes_photo_urls", "label": "test_get_item_includes_photo_urls()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L280"}, {"id": "test_photo_endpoints_test_get_item_no_photo_returns_null", "label": "test_get_item_no_photo_returns_null()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L305"}, {"id": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "label": "test_upload_multiple_photos_without_replace()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L319"}, {"id": "test_photo_endpoints_test_upload_photo_empty_file", "label": "test_upload_photo_empty_file()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L355"}, {"id": "test_photo_endpoints_test_upload_photo_corrupted_jpeg", "label": "test_upload_photo_corrupted_jpeg()", "file_type": "code", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L366"}, {"id": "test_photo_endpoints_rationale_1", "label": "Comprehensive test suite for photo upload/replace API endpoints. Tests cover: -", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L1"}, {"id": "test_photo_endpoints_rationale_31", "label": "Create a test item in the database.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L31"}, {"id": "test_photo_endpoints_rationale_47", "label": "Create a minimal valid JPEG image for testing.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L47"}, {"id": "test_photo_endpoints_rationale_60", "label": "Create an image > 10MB to test size limit.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L60"}, {"id": "test_photo_endpoints_rationale_76", "label": "Create an invalid file (text instead of image).", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L76"}, {"id": "test_photo_endpoints_rationale_85", "label": "Test successful photo upload.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L85"}, {"id": "test_photo_endpoints_rationale_113", "label": "Test that photo upload creates image files on disk.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L113"}, {"id": "test_photo_endpoints_rationale_139", "label": "Test photo replacement with replace_existing=true.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L139"}, {"id": "test_photo_endpoints_rationale_186", "label": "Test that unauthenticated upload fails with 401.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L186"}, {"id": "test_photo_endpoints_rationale_196", "label": "Test that authenticated user can upload.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L196"}, {"id": "test_photo_endpoints_rationale_215", "label": "Test that invalid MIME type is rejected.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L215"}, {"id": "test_photo_endpoints_rationale_227", "label": "Test all accepted MIME types.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L227"}, {"id": "test_photo_endpoints_rationale_249", "label": "Test that files > 10MB are rejected with 413.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L249"}, {"id": "test_photo_endpoints_rationale_265", "label": "Test that upload to non-existent item returns 404.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L265"}, {"id": "test_photo_endpoints_rationale_281", "label": "Test that GET /items/{id} includes photo URLs when photo is set.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L281"}, {"id": "test_photo_endpoints_rationale_306", "label": "Test that GET /items/{id} returns photo: null when no photo is set.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L306"}, {"id": "test_photo_endpoints_rationale_320", "label": "Test multiple uploads without replace_existing (new files created).", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L320"}, {"id": "test_photo_endpoints_rationale_356", "label": "Test that empty file is handled gracefully.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L356"}, {"id": "test_photo_endpoints_rationale_367", "label": "Test that corrupted JPEG is handled gracefully.", "file_type": "rationale", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L367"}], "edges": [{"source": "backend_tests_test_photo_endpoints_py", "target": "io", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "pathlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "unittest_mock", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "fastapi_testclient", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "backend", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_item", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L30", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_sample_image", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L46", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_large_image", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L59", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_invalid_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L75", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_success", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L84", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_creates_files", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L112", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_replace_existing", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L138", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_requires_auth", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L185", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_with_valid_token", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L195", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_invalid_mime_type", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L214", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L226", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_too_large", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L248", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_item_not_found", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L264", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_get_item_includes_photo_urls", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L280", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_get_item_no_photo_returns_null", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L305", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L319", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_empty_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L355", "weight": 1.0}, {"source": "backend_tests_test_photo_endpoints_py", "target": "test_photo_endpoints_test_upload_photo_corrupted_jpeg", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L366", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_1", "target": "backend_tests_test_photo_endpoints_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L1", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_31", "target": "test_photo_endpoints_test_item", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L31", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_47", "target": "test_photo_endpoints_sample_image", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L47", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_60", "target": "test_photo_endpoints_large_image", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L60", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_76", "target": "test_photo_endpoints_invalid_file", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L76", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_85", "target": "test_photo_endpoints_test_upload_photo_success", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L85", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_113", "target": "test_photo_endpoints_test_upload_photo_creates_files", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L113", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_139", "target": "test_photo_endpoints_test_upload_photo_replace_existing", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L139", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_186", "target": "test_photo_endpoints_test_upload_photo_requires_auth", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L186", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_196", "target": "test_photo_endpoints_test_upload_photo_with_valid_token", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L196", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_215", "target": "test_photo_endpoints_test_upload_photo_invalid_mime_type", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L215", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_227", "target": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L227", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_249", "target": "test_photo_endpoints_test_upload_photo_too_large", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L249", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_265", "target": "test_photo_endpoints_test_upload_photo_item_not_found", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L265", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_281", "target": "test_photo_endpoints_test_get_item_includes_photo_urls", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L281", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_306", "target": "test_photo_endpoints_test_get_item_no_photo_returns_null", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L306", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_320", "target": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L320", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_356", "target": "test_photo_endpoints_test_upload_photo_empty_file", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L356", "weight": 1.0}, {"source": "test_photo_endpoints_rationale_367", "target": "test_photo_endpoints_test_upload_photo_corrupted_jpeg", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L367", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_photo_endpoints_test_item", "callee": "Item", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L32"}, {"caller_nid": "test_photo_endpoints_test_item", "callee": "add", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L39"}, {"caller_nid": "test_photo_endpoints_test_item", "callee": "commit", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L40"}, {"caller_nid": "test_photo_endpoints_test_item", "callee": "refresh", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L41"}, {"caller_nid": "test_photo_endpoints_sample_image", "callee": "new", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L51"}, {"caller_nid": "test_photo_endpoints_sample_image", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L52"}, {"caller_nid": "test_photo_endpoints_sample_image", "callee": "save", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L53"}, {"caller_nid": "test_photo_endpoints_sample_image", "callee": "seek", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L54"}, {"caller_nid": "test_photo_endpoints_sample_image", "callee": "getvalue", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L55"}, {"caller_nid": "test_photo_endpoints_large_image", "callee": "new", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L63"}, {"caller_nid": "test_photo_endpoints_large_image", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L64"}, {"caller_nid": "test_photo_endpoints_large_image", "callee": "save", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L65"}, {"caller_nid": "test_photo_endpoints_large_image", "callee": "seek", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L66"}, {"caller_nid": "test_photo_endpoints_large_image", "callee": "getvalue", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L67"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L86"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L88"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L92"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "first", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L100"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "filter", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L100"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "query", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L100"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L108"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L108"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L108"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L109"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L109"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_success", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L109"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L114"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L116"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L120"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L123"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L123"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L124"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L124"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "exists", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L126"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "exists", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L127"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L130"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_creates_files", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L131"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L141"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L143"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L146"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "new", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L151"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L152"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "save", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L153"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "seek", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L154"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L157"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L160"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "getvalue", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L160"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L164"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L171"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L171"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L172"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L172"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "exists", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L173"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "exists", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L174"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L177"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_replace_existing", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L178"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_requires_auth", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L187"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_requires_auth", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L189"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L197"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L199"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L205"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L206"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L206"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L206"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L207"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L207"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_with_valid_token", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L207"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_invalid_mime_type", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L216"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_invalid_mime_type", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L218"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_invalid_mime_type", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L222"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L231"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L233"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L239"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L240"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L240"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L240"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L241"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L241"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_accepted_mime_types", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L241"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_too_large", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L250"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_too_large", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L252"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_too_large", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L256"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_item_not_found", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L266"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_item_not_found", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L268"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_item_not_found", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L272"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L283"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L285"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "get", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L290"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L293"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L301"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L301"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L301"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L302"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L302"}, {"caller_nid": "test_photo_endpoints_test_get_item_includes_photo_urls", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L302"}, {"caller_nid": "test_photo_endpoints_test_get_item_no_photo_returns_null", "callee": "get", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L307"}, {"caller_nid": "test_photo_endpoints_test_get_item_no_photo_returns_null", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L310"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L323"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L325"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L328"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "new", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L331"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L332"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "save", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L333"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "seek", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L334"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L336"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L338"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "getvalue", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L338"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "json", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L341"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L347"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L347"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L347"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "unlink", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L348"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "Path", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L348"}, {"caller_nid": "test_photo_endpoints_test_upload_multiple_photos_without_replace", "callee": "lstrip", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L348"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_empty_file", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L357"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_empty_file", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L359"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_corrupted_jpeg", "callee": "post", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L370"}, {"caller_nid": "test_photo_endpoints_test_upload_photo_corrupted_jpeg", "callee": "BytesIO", "source_file": "backend/tests/test_photo_endpoints.py", "source_location": "L372"}]} |