joseph-roitman / pytest-snapshot

A plugin for snapshot testing with pytest.
MIT License
117 stars 12 forks source link

Support nested dictionaries in assert_match_dir. #48

Closed joseph-roitman closed 2 years ago

joseph-roitman commented 2 years ago

Implements and closes #47

codecov[bot] commented 2 years ago

Codecov Report

Merging #48 (2c04776) into master (6a1456f) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
+ Coverage   99.51%   99.55%   +0.04%     
==========================================
  Files           7        8       +1     
  Lines         410      453      +43     
  Branches       47       54       +7     
==========================================
+ Hits          408      451      +43     
  Misses          2        2              
Impacted Files Coverage Δ
pytest_snapshot/_utils.py 100.00% <100.00%> (ø)
pytest_snapshot/plugin.py 100.00% <100.00%> (ø)
tests/test_assert_match_dir.py 100.00% <100.00%> (ø)
tests/test_misc.py 100.00% <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 6a1456f...2c04776. Read the comment docs.