From 2cf07d67326c25b0a5af4c841daf1b7ed4f5c55f Mon Sep 17 00:00:00 2001 From: Blallo Date: Sat, 4 May 2019 17:59:21 +0200 Subject: [PATCH] Moved ldap async modules to dedicated subpkg. --- src/phi/async_ldap/__init__.py | 0 src/phi/{ldap/async_client.py => async_ldap/client.py} | 0 src/phi/{ldap/async_model.py => async_ldap/model.py} | 0 test/{test_ldap_async_client.py => test_async_ldap_client.py} | 2 +- test/{test_ldap_async_model.py => test_async_ldap_model.py} | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 src/phi/async_ldap/__init__.py rename src/phi/{ldap/async_client.py => async_ldap/client.py} (100%) rename src/phi/{ldap/async_model.py => async_ldap/model.py} (100%) rename test/{test_ldap_async_client.py => test_async_ldap_client.py} (98%) rename test/{test_ldap_async_model.py => test_async_ldap_model.py} (99%) diff --git a/src/phi/async_ldap/__init__.py b/src/phi/async_ldap/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/phi/ldap/async_client.py b/src/phi/async_ldap/client.py similarity index 100% rename from src/phi/ldap/async_client.py rename to src/phi/async_ldap/client.py diff --git a/src/phi/ldap/async_model.py b/src/phi/async_ldap/model.py similarity index 100% rename from src/phi/ldap/async_model.py rename to src/phi/async_ldap/model.py diff --git a/test/test_ldap_async_client.py b/test/test_async_ldap_client.py similarity index 98% rename from test/test_ldap_async_client.py rename to test/test_async_ldap_client.py index e903daf..33615fe 100644 --- a/test/test_ldap_async_client.py +++ b/test/test_async_ldap_client.py @@ -6,7 +6,7 @@ import logging import mock import pytest -from phi.ldap.async_client import ( +from phi.async_ldap.client import ( parse_host, checked_port, compose_dn_username, diff --git a/test/test_ldap_async_model.py b/test/test_async_ldap_model.py similarity index 99% rename from test/test_ldap_async_model.py rename to test/test_async_ldap_model.py index 6770352..e0f1f86 100644 --- a/test/test_ldap_async_model.py +++ b/test/test_async_ldap_model.py @@ -4,7 +4,7 @@ import asyncio from async_generator import asynccontextmanager import pytest -from phi.ldap.async_model import ( +from phi.async_ldap.model import ( get_class, recall, call_if_callable,