Tests on async part moved.
This commit is contained in:
parent
2cf07d6732
commit
ed8af40392
|
@ -1,3 +1,5 @@
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
|
@ -254,7 +256,9 @@ def test_Robots(client_fixture_multi):
|
||||||
async def test_Robots_anext(client_fixture_multi):
|
async def test_Robots_anext(client_fixture_multi):
|
||||||
r = Robots(client_fixture_multi.services)
|
r = Robots(client_fixture_multi.services)
|
||||||
|
|
||||||
exp_res = [Service(el["uid"][0], client_fixture_multi.services) for el in SERVICE_LIST]
|
exp_res = [
|
||||||
|
Service(el["uid"][0], client_fixture_multi.services) for el in SERVICE_LIST
|
||||||
|
]
|
||||||
|
|
||||||
assert exp_res == [el async for el in r]
|
assert exp_res == [el async for el in r]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user