some more tweaks

This commit is contained in:
lilydjwg 2021-06-11 16:13:02 +08:00
parent a969f12d20
commit 5dda20ead2
2 changed files with 2 additions and 1 deletions

View file

@ -251,7 +251,7 @@ class FunctionWorker(BaseWorker):
if httpt is None:
httpt = self.keymanager.get_key('httptoken_'+name)
if httpt is not None:
ctx_httpt.set(httpt)
ctx_httpt.set(httpt)
try:
async with self.task_sem:

View file

@ -4,6 +4,7 @@
import pytest
import pytest_httpbin
assert pytest_httpbin # for pyflakes
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
async def test_redirection(get_version):