From e3d3d6b76010a6dd5c417f017339bec17fb07887 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 14 Jun 2022 02:44:43 +0300 Subject: media: refactor sound_node, introduce camera_node --- test/test_api.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 test/test_api.py (limited to 'test/test_api.py') diff --git a/test/test_api.py b/test/test_api.py new file mode 100755 index 0000000..959b2b3 --- /dev/null +++ b/test/test_api.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 +from home.api import WebAPIClient +from home.api.types import BotType +from home.config import config + + +if __name__ == '__main__': + config.load('test_api') + + api = WebAPIClient() + print(api.log_bot_request(BotType.ADMIN, 1, "test_api.py")) -- cgit v1.2.3