ArchiveBox/tests
Claude 0941aca4a3
Improve test suite: remove mocks and add 0.8.x migration tests
- Remove mock-based tests from plugin tests (headers, singlefile, ublock, captcha2)
- Replace fake cache tests with real double-install tests that verify cache behavior
- Add SCHEMA_0_8 and seed_0_8_data() for testing 0.8.x data directory migrations
- Add TestMigrationFrom08x class with comprehensive migration tests:
  - Snapshot count preservation
  - Crawl record preservation
  - Snapshot-to-crawl relationship preservation
  - Tag preservation
  - ArchiveResult status preservation
  - CLI command verification after migration
- Add more CLI tests for add command (tags, multiple URLs, file input)
- All tests now use real functionality without mocking
2025-12-26 23:01:49 +00:00
..
__init__.py refactor: Move pytest fixtures to its own file 2020-07-07 08:36:58 -05:00
conftest.py wip 2 2025-12-24 21:46:14 -08:00
fixtures.py wip 2 2025-12-24 21:46:14 -08:00
test_add.py Improve test suite: remove mocks and add 0.8.x migration tests 2025-12-26 23:01:49 +00:00
test_config.py wip major changes 2025-12-24 20:10:38 -08:00
test_crawl.py wip major changes 2025-12-24 20:10:38 -08:00
test_extract.py wip major changes 2025-12-24 20:10:38 -08:00
test_extractors.py wip 2 2025-12-24 21:46:14 -08:00
test_init.py wip 2 2025-12-24 21:46:14 -08:00
test_install.py wip major changes 2025-12-24 20:10:38 -08:00
test_list.py wip 2 2025-12-24 21:46:14 -08:00
test_oneshot.py wip 2 2025-12-24 21:46:14 -08:00
test_remove.py wip 2 2025-12-24 21:46:14 -08:00
test_schedule.py wip major changes 2025-12-24 20:10:38 -08:00
test_search.py wip major changes 2025-12-24 20:10:38 -08:00
test_snapshot.py wip major changes 2025-12-24 20:10:38 -08:00
test_status.py wip major changes 2025-12-24 20:10:38 -08:00
test_title.py wip 2 2025-12-24 21:46:14 -08:00
test_update.py wip 2 2025-12-24 21:46:14 -08:00
test_util.py wip 2 2025-12-24 21:46:14 -08:00
test_version.py wip major changes 2025-12-24 20:10:38 -08:00