
import pytest

pytestmark = pytest.mark.asyncio

async def test_redirection(get_version):
    assert await get_version("jmeter-plugins-manager", {
        "source": "httpheader",
        "url": "https://www.unifiedremote.com/download/linux-x64-deb",
        "regex": r'urserver-([\d.]+).deb',
    }) != None



import pytest

pytestmark = pytest.mark.asyncio

async def test_redirection(get_version):
    assert await get_version("unifiedremote", {
        "source": "httpheader",
        "url": "https://www.unifiedremote.com/download/linux-x64-deb",
        "regex": r'urserver-([\d.]+).deb',
    }) != None


Correct package name in httpheader test
Correct package name in httpheader test

  
  import pytest
  
  pytestmark = pytest.mark.asyncio
  
  async def test_redirection(get_version):
-     assert await get_version("jmeter-plugins-manager", {
+     assert await get_version("unifiedremote", {
          "source": "httpheader",
          "url": "https://www.unifiedremote.com/download/linux-x64-deb",
          "regex": r'urserver-([\d.]+).deb',
      }) != None
  
  
Correct package name in httpheader test
## Code Before:

import pytest

pytestmark = pytest.mark.asyncio

async def test_redirection(get_version):
    assert await get_version("jmeter-plugins-manager", {
        "source": "httpheader",
        "url": "https://www.unifiedremote.com/download/linux-x64-deb",
        "regex": r'urserver-([\d.]+).deb',
    }) != None


## Instruction:
Correct package name in httpheader test
## Code After:

import pytest

pytestmark = pytest.mark.asyncio

async def test_redirection(get_version):
    assert await get_version("unifiedremote", {
        "source": "httpheader",
        "url": "https://www.unifiedremote.com/download/linux-x64-deb",
        "regex": r'urserver-([\d.]+).deb',
    }) != None

