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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renderers: test empty values #24

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Conversation

pared
Copy link
Contributor

@pared pared commented Apr 4, 2022

@pared pared force-pushed the empty_values_tests branch from abaeef4 to 3e8578d Compare April 4, 2022 11:23
@pared pared force-pushed the empty_values_tests branch 2 times, most recently from 3818e21 to 9ef9221 Compare April 4, 2022 15:33
@codecov-commenter
Copy link

codecov-commenter commented Apr 4, 2022

Codecov Report

Merging #24 (fa4aee0) into main (7e6acf4) will increase coverage by 0.57%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   95.11%   95.68%   +0.57%     
==========================================
  Files          14       14              
  Lines         450      464      +14     
  Branches       74       76       +2     
==========================================
+ Hits          428      444      +16     
+ Misses         16       15       -1     
+ Partials        6        5       -1     
Impacted Files Coverage Δ
src/dvc_render/base.py 100.00% <100.00%> (ø)
src/dvc_render/vega.py 100.00% <100.00%> (ø)
tests/test_image.py 100.00% <100.00%> (ø)
tests/test_vega.py 100.00% <100.00%> (ø)
src/dvc_render/image.py 100.00% <0.00%> (+12.50%) ⬆️

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 7e6acf4...fa4aee0. Read the comment docs.

@pared pared changed the title renderers: test empty values [WIP] renderers: test empty values Apr 4, 2022
@pared pared force-pushed the empty_values_tests branch from 9ef9221 to 6192375 Compare April 25, 2022 16:11
@pared pared changed the title [WIP] renderers: test empty values renderers: test empty values Apr 25, 2022
@pared pared requested review from daavoo and skshetry April 25, 2022 16:18
assert renderer.name == ""
assert renderer.properties == {}

renderer.partial_html()
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we check the contents of the resulting template?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@pared pared added the testing label Apr 26, 2022
@pared pared force-pushed the empty_values_tests branch from 6192375 to fa4aee0 Compare April 26, 2022 11:55
@daavoo daavoo merged commit 9938324 into iterative:main Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants