Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/iris/tests/_shared_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,3 +990,11 @@ def env_bin_path(exe_name: AnyStr = None):
if exe_name is not None:
exe_path = exe_path / exe_name
return exe_path


class GraphicsTest:
"""All inheriting classes automatically have access to ``self.check_graphic()``."""

@pytest.fixture(autouse=True)
def _get_check_graphics(self, check_graphic_caller):
self.check_graphic = check_graphic_caller
Loading