From ecc4e4e87379065c3a933cd33dfdadc977443152 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Tue, 4 Mar 2025 11:44:12 +0900 Subject: [PATCH] style: fix linter errors Signed-off-by: Hiroshi Miura --- MANIFEST.in | 1 + tests/test_helper.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 24dd1ca..d961ab7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -16,6 +16,7 @@ recursive-include tests *.json recursive-include tests *.py recursive-include tests *.xml recursive-include tools *.py +prune ci prune .github exclude .gitignore exclude .readthedocs.yml diff --git a/tests/test_helper.py b/tests/test_helper.py index 07b2f09..d5c8965 100644 --- a/tests/test_helper.py +++ b/tests/test_helper.py @@ -139,7 +139,8 @@ def test_helper_downloadBinary_sha256(tmp_path, monkeypatch): expected = binascii.unhexlify("07b3ef4606b712923a14816b1cfe9649687e617d030fc50f948920d784c0b1cd") out = tmp_path.joinpath("text.xml") - helper.downloadBinaryFile("http://example.com/test.xml", out, "sha256", expected, 60) + timeout = (Settings.connection_timeout, Settings.response_timeout) + helper.downloadBinaryFile("http://example.com/test.xml", out, "sha256", expected, timeout) @pytest.mark.parametrize(