dapper91 / pydantic-xml

python xml for humans
https://pydantic-xml.readthedocs.io
The Unlicense
155 stars 16 forks source link

Add tests about generic list of submodels #66

Closed GuillaumeDesforges closed 1 year ago

GuillaumeDesforges commented 1 year ago

I'm struggling with some issues with a generic model with a list of elements of submodels. As I'm trying to solve my own problem, I wrote tests to see if the issue was coming from the library.

Turns out it is not, but I figure it's always useful to add tests.

codecov-commenter commented 1 year ago

Codecov Report

Merging #66 (b49d08c) into dev (2dc6ff1) will increase coverage by 0.04%. The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##              dev      #66      +/-   ##
==========================================
+ Coverage   93.08%   93.13%   +0.04%     
==========================================
  Files          23       23              
  Lines        1085     1092       +7     
==========================================
+ Hits         1010     1017       +7     
  Misses         75       75              
Flag Coverage Δ
unittests 93.13% <ø> (+0.04%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

see 3 files with indirect coverage changes

dapper91 commented 1 year ago

@GuillaumeDesforges please, change target branch from master to dev

dapper91 commented 1 year ago

@GuillaumeDesforges please, change target branch from master to dev

GuillaumeDesforges commented 1 year ago

Sure, sorry about that.