Skip to content

Commit

Permalink
Merge pull request #144 from mraspaud/update-versioneer
Browse files Browse the repository at this point in the history
Update versioneer
  • Loading branch information
mraspaud committed Feb 8, 2024
2 parents 06defc6 + 131913a commit 125ee0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytroll_collectors/tests/test_fsspec_to_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class TestMessageComposer:
"""Test case for the message composer."""

def setup(self):
def setup_method(self):
"""Set up message composer tests."""
self.ls_output = deepcopy(ls_output)

Expand Down
3 changes: 2 additions & 1 deletion pytroll_collectors/tests/test_geographic_gatherer.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class TestGeographicGatherer:
"""Test the top-level geographic gathering."""

@pytest.fixture(autouse=True)
def setup(self, tmp_config_file, tmp_config_parser):
def setup_method(self, tmp_config_file, tmp_config_parser):
"""Set up things."""
self.config = tmp_config_parser

Expand Down Expand Up @@ -322,6 +322,7 @@ def test_init_all_sections(self, tmp_config_file):
fake_create_publisher_from_dict_config.return_value.start.assert_called_once()

def test_fails_unreadable_config(self, tmp_path):
"""Test that it fails when the config is unreadable."""
from pytroll_collectors.geographic_gatherer import GeographicGatherer
opts = arg_parse(["/thıs/fıle/does/not/exıst"])
with pytest.raises(
Expand Down

0 comments on commit 125ee0a

Please sign in to comment.