summaryrefslogtreecommitdiff
path: root/test/test_api.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-06-10 22:29:24 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-06-10 22:29:24 +0300
commit3790c2205396cf860738f297e6ddc49cd2b2a03f (patch)
treeb1ba6f227d3389071dd27346adcd24a593f8b327 /test/test_api.py
parent2631c58961c2f5ec90be560a8f5152fe27339a90 (diff)
new config: port openwrt_logger and webapiclient
Diffstat (limited to 'test/test_api.py')
-rwxr-xr-xtest/test_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_api.py b/test/test_api.py
index e80eb4c..ecf8764 100755
--- a/test/test_api.py
+++ b/test/test_api.py
@@ -7,7 +7,7 @@ sys.path.extend([
)
])
-from src.home.api import WebAPIClient
+from src.home.api import WebApiClient
from src.home.api.types import BotType
from src.home.config import config
@@ -15,5 +15,5 @@ from src.home.config import config
if __name__ == '__main__':
config.load_app('test_api')
- api = WebAPIClient()
+ api = WebApiClient()
print(api.log_bot_request(BotType.ADMIN, 1, "test_api.py"))