Skip to content

Black linting fix + pytest mocker 422-error fix (autospec=True)#155

Merged
petrCher merged 2 commits into
mainfrom
black_fix
Jul 23, 2026
Merged

Black linting fix + pytest mocker 422-error fix (autospec=True)#155
petrCher merged 2 commits into
mainfrom
black_fix

Conversation

@Georgon

@Georgon Georgon commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Исправил linting black без версий в requirements @stable в checks.yml.
Также, как писали в беседе, исправил ошибку с pytest (422 на все тесты, где есть mock):
В фикстуру authlib_mock добавил auth_mock = mocker.patch('auth_lib.fastapi.UnionAuth.call', autospec=True)

@Georgon
Georgon requested a review from petrCher July 11, 2026 18:26
@Georgon Georgon self-assigned this Jul 11, 2026
@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown

Summary

Tests Skipped Failures Errors Time
154 0 💤 0 ❌ 0 🔥 20.082s ⏱️

@Georgon

Georgon commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Ура, linting и Unit test пройдены!

@petrCher
petrCher merged commit 9f813d8 into main Jul 23, 2026
2 checks passed
@petrCher
petrCher deleted the black_fix branch July 23, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants