From ed8af40392ca2ee7b927bf333c7fc86bb5d787ff Mon Sep 17 00:00:00 2001 From: Blallo Date: Sun, 30 Jun 2019 21:16:48 +0200 Subject: [PATCH] Tests on async part moved. --- {test => async_tests}/test_async_ldap_client.py | 0 test/test_async_ldap_model.py | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) rename {test => async_tests}/test_async_ldap_client.py (100%) diff --git a/test/test_async_ldap_client.py b/async_tests/test_async_ldap_client.py similarity index 100% rename from test/test_async_ldap_client.py rename to async_tests/test_async_ldap_client.py diff --git a/test/test_async_ldap_model.py b/test/test_async_ldap_model.py index e0f1f86..afe5544 100644 --- a/test/test_async_ldap_model.py +++ b/test/test_async_ldap_model.py @@ -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]