Skip to content

Commit

Permalink
Merge branch 'main' into reduce-test-warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lahtinep committed Jun 20, 2024
2 parents 643b5c7 + 739b1f9 commit ac8a5ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-sdist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Publish package to PyPI
if: github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@v1.8.14
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
user: __token__
password: ${{ secrets.pypi_password }}
4 changes: 3 additions & 1 deletion trollflow2/tests/test_trollflow2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,9 @@ def test_filepublisher_kwargs_direct_instance_no_nameserver(self):

_ = FilePublisher(port=40000, nameservers=False)
NoisyPublisher.assert_not_called()
Publisher.assert_called_once_with('tcp://*:40000', name='l2processor', min_port=None, max_port=None)
call = Publisher.mock_calls[0]
assert call.args == ('tcp://*:40000',)
assert call.kwargs["name"] == "l2processor"

def test_filepublisher_kwargs(self):
"""Test filepublisher keyword argument usage.
Expand Down

0 comments on commit ac8a5ec

Please sign in to comment.