mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-21 00:12:30 +01:00
Test: no local named like a 3.15 builtin
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / web-coverage (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / web-coverage (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
CI pylint (Python 3.15) reads `sentinel` as redefined-builtin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d2565416aa
commit
af08c44d5b
@ -114,10 +114,10 @@ class TestCreateJob:
|
||||
|
||||
def test_privileged_goes_to_the_daemon(self) -> None:
|
||||
"""A privileged command is forwarded to the daemon unchanged."""
|
||||
sentinel = Reply(HTTPStatus.ACCEPTED)
|
||||
with patch(f"{_PKG}.run_privileged", return_value=sentinel) as run:
|
||||
accepted = Reply(HTTPStatus.ACCEPTED)
|
||||
with patch(f"{_PKG}.run_privileged", return_value=accepted) as run:
|
||||
got = _create({"command": "gaming-reset", "confirm_phrase": "p"})
|
||||
assert got is sentinel
|
||||
assert got is accepted
|
||||
run.assert_called_once_with("gaming-reset", {}, "p")
|
||||
|
||||
def test_plain_job_is_created(self) -> None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user