Skip to content

Commit

Permalink
fix tests after flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Nina.Hakansson committed Apr 15, 2024
1 parent c22870c commit 13bb3d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nwcsafpps_runner/tests/test_level1c_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,8 @@ def create_config_from_yaml(yaml_content_str):
class TestPublishMessage(unittest.TestCase):
"""Test publication of messages."""

@patch('nwcsafpps_runner.message_utils.socket.gethostname')
def test_create_publish_message(self, gethostname):
def test_create_publish_message(self):
"""Test the creation of the publish message."""
gethostname.return_value = "my_local_server"
my_fake_level1c_file = '/my/level1c/file/path/level1c.nc'
input_msg = Message.decode(rawstr=TEST_INPUT_MSG)

Expand Down

0 comments on commit 13bb3d2

Please sign in to comment.