lllin000_PaperForge/tests/fixtures/bbt_export_storage.json
Research Assistant 72cbdc3250 test(11-01): add test_path_normalization.py with 25 test methods
- TestBBTPathNormalization: 8 tests covering absolute Windows, storage: prefix,
  bare relative, Chinese chars, spaces, backslash normalization, empty path,
  absolute non-storage
- TestMainPdfIdentification: 6 tests covering title=PDF primary, largest file
  fallback, first PDF fallback, no PDFs, single PDF, mixed PDF/non-PDF
- TestWikilinkGeneration: 6 tests covering basic wikilink, junction resolution,
  forward slashes, Chinese filename, empty path, nonexistent file
- TestLoadExportRowsIntegration: 5 tests using fixture JSON files
- Fixtures: bbt_export_absolute.json, bbt_export_storage.json,
  bbt_export_mixed.json
2026-04-24 20:30:32 +08:00

22 lines
506 B
JSON

{
"items": [
{
"key": "STORAGE1",
"itemKey": "STORAGE1",
"itemType": "journalArticle",
"title": "Storage Prefix Test Paper",
"date": "2023",
"publicationTitle": "Storage Journal",
"DOI": "10.5678/storage.002",
"attachments": [
{
"path": "storage:STORAGE1/Storage Prefix Test Paper.pdf",
"contentType": "application/pdf",
"title": "PDF",
"size": 1024000
}
]
}
],
"collections": {}
}