Skip to content

Commit

Permalink
tests: update baseline new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrughmans committed Jan 23, 2025
1 parent 5580449 commit 5b74deb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pylbo_tests/mode_baseline/slice_2d_y_cart_streamlines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/pylbo_tests/test_viz_modes_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def test_streamlines_nogrids(self, view, tmpdir, modebaselinedir):
result = compare_images(str(image_baseline), str(image_test), tol=2)
if result is not None:
pytest.fail(result, pytrace=False)
# test succeeded if result = None, check if files are kept
# test succeeded if result = None
if result is None:
Path(image_test).unlink()

Expand Down Expand Up @@ -387,6 +387,6 @@ def test_streamlines_polar(self, view, tmpdir, modebaselinedir):
result = compare_images(str(image_baseline), str(image_test), tol=2)
if result is not None:
pytest.fail(result, pytrace=False)
# test succeeded if result = None, check if files are kept
# test succeeded if result = None
if result is None:
Path(image_test).unlink()

0 comments on commit 5b74deb

Please sign in to comment.