Tests on async part moved.

refactor
blallo 2019-06-30 21:16:48 +02:00
parent 2cf07d6732
commit ed8af40392
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# -*- encoding: utf-8 -*-
from argparse import Namespace
import asyncio
@ -254,7 +256,9 @@ def test_Robots(client_fixture_multi):
async def test_Robots_anext(client_fixture_multi):
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]