satpy.tests.conftest module

Shared preparation and utilities for testing.

This module is executed automatically by pytest.

satpy.tests.conftest._clear_function_caches()[source]

Clear out global function-level caches that may cause conflicts between tests.

satpy.tests.conftest._reset_satpy_config(tmpdir)[source]

Set satpy config to logical defaults for tests.

satpy.tests.conftest.include_test_etc()[source]

Tell Satpy to use the config ‘etc’ directory from the tests directory.