tests: use another url because jmeter-plugins.org one has issues with Tornado's simple HTTP client.

This commit is contained in:
lilydjwg 2021-01-29 16:11:11 +08:00
parent 305c329e02
commit 29f2bad400
1 changed files with 3 additions and 3 deletions

View File

@ -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