Skip to content

Commit

Permalink
Merge branch 'main' into feature-nwc-geo-hrw
Browse files Browse the repository at this point in the history
  • Loading branch information
lahtinep committed Feb 27, 2025
2 parents 7348a34 + ef3618f commit b2c4dc9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions satpy/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,17 @@ def _create_yamlbased_plugin(
class TestPluginsConfigs:
"""Test that plugins are working."""

def setup_method(self):
"""Set up the test."""
@classmethod
def setup_class(cls):
"""Set up the class of tests with a clean environment."""
cached_entry_point.cache_clear()

def teardown_method(self):
"""Tear down the test.
Make sure we leave every test the way we started.
"""
cached_entry_point.cache_clear()

def test_get_plugin_configs(self, fake_composite_plugin_etc_path):
Expand Down

0 comments on commit b2c4dc9

Please sign in to comment.