adriangb / xpresso

A composable Python ASGI web framework
https://xpresso-api.dev/
MIT License
178 stars 4 forks source link

fix: fix name resolution for duplicate models #39

Closed adriangb closed 2 years ago

codecov-commenter commented 2 years ago

Codecov Report

Merging #39 (624c9f0) into main (ea608b3) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   98.13%   98.16%   +0.02%     
==========================================
  Files         175      179       +4     
  Lines        5532     5611      +79     
  Branches      639      656      +17     
==========================================
+ Hits         5429     5508      +79     
  Misses         56       56              
  Partials       47       47              
Impacted Files Coverage Δ
tests/__init__.py 100.00% <ø> (ø)
...t_docs/tutorial/cookie_params/test_tutorial_001.py 100.00% <ø> (ø)
...t_docs/tutorial/header_params/test_tutorial_001.py 100.00% <ø> (ø)
...st_docs/tutorial/query_params/test_tutorial_001.py 100.00% <ø> (ø)
...st_docs/tutorial/query_params/test_tutorial_003.py 100.00% <ø> (ø)
...st_docs/tutorial/query_params/test_tutorial_004.py 100.00% <ø> (ø)
tests/test_openapi/params/test_cookie_openapi.py 100.00% <ø> (ø)
tests/test_openapi/params/test_header_openapi.py 100.00% <ø> (ø)
tests/test_openapi/params/test_query_openapi.py 100.00% <ø> (ø)
tests/test_security/test_security_oauth2.py 100.00% <ø> (ø)
... and 27 more
adriangb commented 2 years ago

Note: this is actually a 35 LOC drop on the implementation side, the increase is all from tests