lllin000_PaperForge/tests/fixtures/bbt_export_absolute.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
547 B
JSON

{
"items": [
{
"key": "ABC12345",
"itemKey": "ABC12345",
"itemType": "journalArticle",
"title": "Absolute Path Test Paper",
"date": "2024",
"publicationTitle": "Journal of Testing",
"DOI": "10.1234/test.001",
"attachments": [
{
"path": "D:\\L\\Med\\Research\\99_System\\Zotero\\storage\\ABC12345\\Absolute Path Test Paper.pdf",
"contentType": "application/pdf",
"title": "PDF",
"size": 2048000
}
]
}
],
"collections": {}
}