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

Comments

✏️ Fix typos in data for tests#4958

Merged
tiangolo merged 2 commits intofastapi:masterfrom
ryanrussell:master
Jun 22, 2023
Merged

✏️ Fix typos in data for tests#4958
tiangolo merged 2 commits intofastapi:masterfrom
ryanrussell:master

Conversation

@ryanrussell
Copy link
Contributor

No description provided.

@codecov
Copy link

codecovbot commentedMay 26, 2022
edited
Loading

Codecov Report

Patch coverage:100.00% and no project coverage change.

Comparison is base(cf73051) 100.00% compared to head(63efdc0) 100.00%.

❗ Current head63efdc0 differs from pull request most recent headc3bc61b. Consider uploading reports for the commitc3bc61b to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@##            master     #4958    +/-   ##==========================================  Coverage   100.00%   100.00%            ==========================================  Files          540       532     -8       Lines        13969     13672   -297     ==========================================- Hits         13969     13672   -297
Impacted FilesCoverage Δ
tests/test_schema_extra_examples.py100.00% <ø> (ø)
tests/test_param_include_in_schema.py100.00% <100.00%> (ø)

... and36 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment?Let us know in this issue.

@github-actions
Copy link
Contributor

📝 Docs preview for commit63efdc0 at:https://628faf69384877273be629ca--fastapi.netlify.app

Copy link
Contributor

@iudeeniudeen left a comment

Choose a reason for hiding this comment

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

Good one!

Copy link

@RyandaydevRyandaydev left a comment
edited
Loading

Choose a reason for hiding this comment

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

The changes look correct, but the branch the changes are in has errors running the tests when I check it out. So I can't give it a clean review.

@iudeen
Copy link
Contributor

@Ryandaydev it'd be great if you can list out the errors. I see the GitHub checks have passed for this PR.

@Ryandaydev
Copy link

Ryandaydev commentedDec 21, 2022
edited
Loading

When I use gh checkout 4958, it looks at the ryanrussell/master branch. In that branch, it looks like the test-cov-html.sh file is an old version containing an argument that isn't in the main branch version.

So I can't run the test coverage script to get a clean test run.

Here is the error:
pytest: error: unrecognized arguments: --cov=fastapi --cov=tests --cov=docs_src --cov-report=term-missing:skip-covered --cov-report=xml --cov-report=html

@iudeen
Copy link
Contributor

@Ryandaydev I checked from local, it works fine.

1346 passed in 21.79s

Ensure you have installed all the dependencies needed.

pip install -e ."[dev,doc,test]" --upgrade

Then run:

coverage run -m pytest tests

@Ryandaydev
Copy link

Ryandaydev commentedDec 21, 2022
edited
Loading

Thanks, the pip command resolved my issue. No objections now -- I'll mark it as approve.

Copy link

@RyandaydevRyandaydev left a comment

Choose a reason for hiding this comment

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

Minor change looks good. Tests ran successfully.

tiangolo reacted with thumbs up emoji
@tiangolotiangolo changed the titleImprove test readability✏️ Fix typos in data for testsJun 22, 2023
@tiangolo
Copy link
Member

Great, thanks@ryanrussell! 🔍 🤓

And thanks for the reviews and comments everyone! ☕

@tiangolotiangoloenabled auto-merge (squash)June 22, 2023 11:24
@tiangolotiangolo merged commitb4b39d3 intofastapi:masterJun 22, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@KludexKludexKludex approved these changes

+8 more reviewers

@RyandaydevRyandaydevRyandaydev approved these changes

@iudeeniudeeniudeen approved these changes

@arthurartyarthurartyarthurarty approved these changes

@JakeWalker23JakeWalker23JakeWalker23 approved these changes

@nurettnnurettnnurettn approved these changes

@hafidzwibowohafidzwibowohafidzwibowo approved these changes

@MrRawbinMrRawbinMrRawbin approved these changes

@yezz123yezz123yezz123 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

11 participants

@ryanrussell@iudeen@Ryandaydev@tiangolo@Kludex@arthurarty@JakeWalker23@nurettn@hafidzwibowo@MrRawbin@yezz123

[8]ページ先頭

©2009-2026 Movatter.jp