From 29f2bad4001213d648fe6a412019adc036679aca Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Fri, 29 Jan 2021 16:11:11 +0800 Subject: [PATCH] tests: use another url because jmeter-plugins.org one has issues with Tornado's simple HTTP client. --- tests/test_httpheader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_httpheader.py b/tests/test_httpheader.py index d8e7a14..4a6dad4 100644 --- a/tests/test_httpheader.py +++ b/tests/test_httpheader.py @@ -8,7 +8,7 @@ pytestmark = pytest.mark.asyncio async def test_redirection(get_version): assert await get_version("jmeter-plugins-manager", { "source": "httpheader", - "url": "https://jmeter-plugins.org/get/", - "regex": r'/([\d.]+)/', - }) == "1.6" + "url": "https://www.unifiedremote.com/download/linux-x64-deb", + "regex": r'urserver-([\d.]+).deb', + }) != None