Skip to content

Add image comparison tests using pytest-mpl #374

Add image comparison tests using pytest-mpl

Add image comparison tests using pytest-mpl #374

GitHub Actions / JUnit Test Report - failed Jan 16, 2024 in 0s

363 tests run, 361 passed, 0 skipped, 2 failed.

Annotations

Check failure on line 1 in tests/test_transect.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report -

test_transect.test_plot

Failed: Error: Image files did not match.
  RMS Value: 62.96593573483176
  Expected:  
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot/baseline.png
  Actual:    
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot/result.png
  Difference:
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot/result-failed-diff.png
  Tolerance: 
    2
Raw output
Error: Image files did not match.
  RMS Value: 62.96593573483176
  Expected:  
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot/baseline.png
  Actual:    
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot/result.png
  Difference:
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot/result-failed-diff.png
  Tolerance: 
    2

Check failure on line 1 in tests/test_transect.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report -

test_transect.test_plot_no_intersection

Failed: Error: Image files did not match.
  RMS Value: 6.923595859784829
  Expected:  
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot_no_intersection/baseline.png
  Actual:    
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot_no_intersection/result.png
  Difference:
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot_no_intersection/result-failed-diff.png
  Tolerance: 
    2
Raw output
Error: Image files did not match.
  RMS Value: 6.923595859784829
  Expected:  
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot_no_intersection/baseline.png
  Actual:    
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot_no_intersection/result.png
  Difference:
    /home/runner/work/emsarray/emsarray/mpl-results/tests.test_transect.test_plot_no_intersection/result-failed-diff.png
  Tolerance: 
    2