Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

✅ Fix a minor bug in the testtests/test_modules_same_name_body/test_main.py#13411

Merged
tiangolo merged 3 commits intofastapi:masterfrom
alv2017:bug-fix-tests-test-modules-same-name-body
Feb 27, 2025
Merged

✅ Fix a minor bug in the testtests/test_modules_same_name_body/test_main.py#13411
tiangolo merged 3 commits intofastapi:masterfrom
alv2017:bug-fix-tests-test-modules-same-name-body

Conversation

@alv2017
Copy link
Contributor

@alv2017alv2017 commentedFeb 22, 2025
edited
Loading

Description:
1.

data = response.json()

has been replaced with the assertion statement

assert data == response.json()

Tests parametrization applied to reduce the duplicated code

svlandeg reacted with thumbs up emoji
@alv2017alv2017 marked this pull request as ready for reviewFebruary 22, 2025 23:48
@alv2017alv2017 changed the titleFixes a minor bug in test:tests/test_modules_same_name_body/test_main.pyFixes a minor bug in a test:tests/test_modules_same_name_body/test_main.pyFeb 23, 2025
@svlandegsvlandeg changed the titleFixes a minor bug in a test:tests/test_modules_same_name_body/test_main.py✅ Fix a minor bug in the test filetests/test_modules_same_name_body/test_main.pyFeb 24, 2025
Copy link
Member

@svlandegsvlandeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Good catch with the missingassert!

Also a good idea to useparametrize here and avoid code duplication to test all corner cases.

Should be ready to merge 🥳

@svlandegsvlandeg changed the title✅ Fix a minor bug in the test filetests/test_modules_same_name_body/test_main.py✅ Fix a minor bug in the testtests/test_modules_same_name_body/test_main.pyFeb 24, 2025
Copy link
Member

@tiangolotiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you! 🚀 🎉

@tiangolotiangolo merged commit7eabff4 intofastapi:masterFeb 27, 2025
31 of 32 checks passed
@alv2017alv2017 deleted the bug-fix-tests-test-modules-same-name-body branchMarch 6, 2025 14:21
@njsbhu

This comment was marked as spam.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tiangolotiangolotiangolo approved these changes

@svlandegsvlandegsvlandeg approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@alv2017@njsbhu@tiangolo@svlandeg

Comments


[8]ページ先頭

©2009-2026 Movatter.jp