Skip to content

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

Open
Georgon wants to merge 1 commit into
mainfrom
black_fix
Open

Black linting fix + pytest mocker 422-error fix (autospec=True)#155
Georgon wants to merge 1 commit 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

Copy link
Copy Markdown

Summary

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

@Georgon

Georgon commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

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

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.

1 participant