Skip to content

[pull] master from jhao104:master#40

Merged
pull[bot] merged 13 commits into
linux-doc:masterfrom
jhao104:master
Jun 15, 2026
Merged

[pull] master from jhao104:master#40
pull[bot] merged 13 commits into
linux-doc:masterfrom
jhao104:master

Conversation

@pull

@pull pull Bot commented Jun 15, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

jhao104 added 13 commits June 15, 2026 20:40
Tests for all ProxyHandler methods: get, pop, put, delete, getAll, exists, getCount.
Mock DbClient to avoid external dependencies. 11 new tests, all passing.
Tests for init (stream/file/platform), stream level override, file level override, log dir creation.
10 new tests, all passing.
…ator (B3)

Add tests for httpTimeOutValidator, httpsTimeOutValidator, customValidatorExample.
Mock requests.head to avoid real HTTP calls. 7 new tests, all passing.
Add tests for /refresh/ endpoint, JsonResponse.force_type with dict/list, runFlask on Windows.
3 new tests, all passing.
Add tests for DbClient init (redis/ssdb) and all 11 delegation methods.
13 new tests, all passing.
Tests for get/post (success, header merge, retry exhaustion), tree, text, json, user_agent/header.
Note: get() retry exhaustion doesn't assign self.response (inconsistent with post()).
13 new tests, all passing.
Tests for --version, schedule, server, fetcher commands using click.testing.CliRunner.
4 new tests, all passing.
Tests for DoValidator.validator (http/https pass/fail, fail_count, region),
regionGetter (success/exception), _ThreadChecker.__ifRaw/__ifUse logic.
14 new tests, all passing.
Tests for _get_sources_dir, _load_module (fresh/cache/reload/error), _discover_fetchers
(enabled/exclude/sorted/prune), _ThreadFetcher (collect/merge).
11 new tests, all passing.
Tests for startServer/startScheduler (call order), __beforeStart (exit/continue),
__checkDBConfig (returns db.test() result). 5 new tests, all passing.
Tests for __runProxyFetch (queue flow), __runProxyCheck (low pool triggers fetch),
runScheduler (2 jobs, 5min fetch, 2min check intervals). 6 new tests, all passing.
- test_scheduler.py: pre-mock apscheduler modules before import
- test_fetch.py: fix test_import_exception_returns_none for py311 reload path
@pull pull Bot locked and limited conversation to collaborators Jun 15, 2026
@pull pull Bot added the ⤵️ pull label Jun 15, 2026
@pull pull Bot merged commit 9cc0cad into linux-doc:master Jun 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant