mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
some more tweaks
This commit is contained in:
parent
a969f12d20
commit
5dda20ead2
2 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,7 @@ class FunctionWorker(BaseWorker):
|
||||||
if httpt is None:
|
if httpt is None:
|
||||||
httpt = self.keymanager.get_key('httptoken_'+name)
|
httpt = self.keymanager.get_key('httptoken_'+name)
|
||||||
if httpt is not None:
|
if httpt is not None:
|
||||||
ctx_httpt.set(httpt)
|
ctx_httpt.set(httpt)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
async with self.task_sem:
|
async with self.task_sem:
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
import pytest
|
import pytest
|
||||||
import pytest_httpbin
|
import pytest_httpbin
|
||||||
assert pytest_httpbin # for pyflakes
|
assert pytest_httpbin # for pyflakes
|
||||||
|
|
||||||
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
|
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
|
||||||
|
|
||||||
async def test_redirection(get_version):
|
async def test_redirection(get_version):
|
||||||
|
|
Loading…
Add table
Reference in a new issue