funread 1.2.6__tar.gz → 1.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {funread-1.2.6 → funread-1.2.7}/PKG-INFO +1 -1
- {funread-1.2.6 → funread-1.2.7}/pyproject.toml +1 -1
- {funread-1.2.6 → funread-1.2.7}/tests/test_download_base.py +12 -8
- {funread-1.2.6 → funread-1.2.7}/.github/FUNDING.yml +0 -0
- {funread-1.2.6 → funread-1.2.7}/.github/workflows/ci.yml +0 -0
- {funread-1.2.6 → funread-1.2.7}/.gitignore +0 -0
- {funread-1.2.6 → funread-1.2.7}/CHANGELOG.md +0 -0
- {funread-1.2.6 → funread-1.2.7}/LICENSE +0 -0
- {funread-1.2.6 → funread-1.2.7}/README.md +0 -0
- {funread-1.2.6 → funread-1.2.7}/example/run.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/example/run1.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/example/run3.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/scripts/setup.sh +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/base/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/base/config.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/backends/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/backends/html.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/backends/jsonx.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/backends/regexrow.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/book.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/errors.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/evaluator.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/expr.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/feed.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/fetch.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/js/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/js/base.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/js/host.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/js/null.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/js/quickjs_runtime.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/lexer.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/models.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/nodes.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/opml.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/rss.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/runtime.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/source.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/values.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/engine/variables.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/context.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/core/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/core/constants.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/core/db_backup.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/core/processor.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/core/store.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/reporting/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/reporting/builder.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/reporting/remote.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/sources/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/sources/book.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/sources/factory.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/sources/rss.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/download/task.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/publish/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/publish/entrance.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/publish/rss.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/source/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/source/check/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/source/check/task.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/source/merge/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/source/merge/task.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/source/storage.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/source/sync/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/source/sync/task.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/utils/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/utils/core.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/manage/utils/worker.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/net/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/net/charset.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/net/fetcher.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/net/probe.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/net/survey.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/reader/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/reader/matching.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/reader/registry.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/reader/rss_service.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/reader/service.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/legado/reader/storage.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/py.typed +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/scripts/__init__.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/src/funread/scripts/command.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/conftest.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_book_flow.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_combinators_and_regex.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_default_dialect.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_dialects.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_feed_parser.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_js_boundary.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_js_quickjs.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_no_heavy_imports.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_opml.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_rss_engine.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_source_spec.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_source_spec_rss.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_url_options.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/engine/test_variables_and_interpolation.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/net/test_charset.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/net/test_requests_fetcher.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/net/test_survey.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/reader/test_chapter_matching.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/reader/test_reader_service.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/reader/test_reader_storage.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/reader/test_registry.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/reader/test_rss_service.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/reader/test_rss_storage.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/reader/test_user_scoping.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/test_config.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/test_db_backup.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/test_publish_and_parse.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/test_publish_optional_fundrive.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/test_report_builder.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/test_source_download_storage.py +0 -0
- {funread-1.2.6 → funread-1.2.7}/tests/test_task_database_resolution.py +0 -0
|
@@ -228,10 +228,12 @@ def test_export_sources_only_includes_pending_and_available_statuses(tmp_path: P
|
|
|
228
228
|
|
|
229
229
|
exported = next(source.export_sources(size=10))
|
|
230
230
|
|
|
231
|
-
assert
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
assert sorted(item["sourceUrl"].split("#")[0] for item in exported) == sorted(
|
|
232
|
+
[
|
|
233
|
+
"https://rss.example.com/pending",
|
|
234
|
+
"https://rss.example.com/available",
|
|
235
|
+
]
|
|
236
|
+
)
|
|
235
237
|
|
|
236
238
|
|
|
237
239
|
class _FakeDrive:
|
|
@@ -361,10 +363,12 @@ def test_upload_only_includes_pending_and_available_sources(tmp_path: Path) -> N
|
|
|
361
363
|
UploadSourceBatchesTask(store=source, remote_manager=_RemoteManager()).run()
|
|
362
364
|
|
|
363
365
|
assert len(uploaded_batches) == 1
|
|
364
|
-
assert
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
assert sorted(item["sourceUrl"].split("#")[0] for item in uploaded_batches[0]) == sorted(
|
|
367
|
+
[
|
|
368
|
+
"https://rss.example.com/pending",
|
|
369
|
+
"https://rss.example.com/available",
|
|
370
|
+
]
|
|
371
|
+
)
|
|
368
372
|
|
|
369
373
|
|
|
370
374
|
def test_source_step_tasks_delegate_to_generator() -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|