Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敟 Delete duplicated tests in tests/test_tutorial/test_sql_databases/test_sql_databases.py #5040

Merged
merged 1 commit into from Aug 26, 2022

Conversation

raccoonyy
Copy link
Contributor

@raccoonyy raccoonyy commented Jun 16, 2022

I've read the tests and found duplicated code.

Lines 359~364 are exactly the same as the lines 353~358.

And I can't guess why.

@codecov
Copy link

codecov bot commented Jun 16, 2022

Codecov Report

Merging #5040 (c62484a) into master (1876ebc) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #5040   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          532       532           
  Lines        13672     13666    -6     
=========================================
- Hits         13672     13666    -6     
Impacted Files Coverage 螖
..._tutorial/test_sql_databases/test_sql_databases.py 100.00% <酶> (酶)

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 1876ebc...c62484a. Read the comment docs.

@github-actions
Copy link
Contributor

馃摑 Docs preview for commit c62484a at: https://62aa949915ad6a1a2c24b021--fastapi.netlify.app

@tiangolo tiangolo changed the title Delete duplicated tests 馃敟 Delete duplicated tests Aug 26, 2022
@tiangolo
Copy link
Owner

Ha! Good catch, thank you @raccoonyy! 馃敟 馃嵃

@tiangolo tiangolo changed the title 馃敟 Delete duplicated tests Delete duplicated tests in tests/test_tutorial/test_sql_databases/test_sql_databases.py Aug 26, 2022
@tiangolo tiangolo changed the title Delete duplicated tests in tests/test_tutorial/test_sql_databases/test_sql_databases.py 馃敟 Delete duplicated tests in tests/test_tutorial/test_sql_databases/test_sql_databases.py Aug 26, 2022
@tiangolo tiangolo merged commit d86b54e into tiangolo:master Aug 26, 2022
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.

None yet

7 participants