aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
7 stars 17 forks source link

Add tests to structure module, small modification to the module itself. #453

Closed yakutovicha closed 1 year ago

yakutovicha commented 1 year ago

fixes #452

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 92.51% and project coverage change: +5.84 :tada:

Comparison is base (970b5e1) 50.50% compared to head (a0bd85d) 56.35%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #453 +/- ## ========================================== + Coverage 50.50% 56.35% +5.84% ========================================== Files 21 21 Lines 3249 3322 +73 ========================================== + Hits 1641 1872 +231 + Misses 1608 1450 -158 ``` | Flag | Coverage Δ | | |---|---|---| | python-3.10 | `?` | | | python-3.8 | `56.35% <92.51%> (+5.81%)` | :arrow_up: | | python-3.9 | `56.35% <92.51%> (+5.81%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/453?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | Coverage Δ | | |---|---|---| | [aiidalab\_widgets\_base/structures.py](https://codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/453?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab#diff-YWlpZGFsYWJfd2lkZ2V0c19iYXNlL3N0cnVjdHVyZXMucHk=) | `75.11% <83.07%> (+22.48%)` | :arrow_up: | | [tests/conftest.py](https://codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/453?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab#diff-dGVzdHMvY29uZnRlc3QucHk=) | `63.04% <100.00%> (ø)` | | | [tests/test\_structures.py](https://codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/453?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab#diff-dGVzdHMvdGVzdF9zdHJ1Y3R1cmVzLnB5) | `100.00% <100.00%> (ø)` | | ... and [5 files with indirect coverage changes](https://codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/453/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab)

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