summaryrefslogtreecommitdiff
path: root/test/test_api.py
blob: 80ab62a4daccc052fb96f02679f484038ed402c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3
import __py_include

from homekit.api import WebApiClient
from homekit.api.types import BotType
from homekit.config import config


if __name__ == '__main__':
    config.load_app('test_api')

    api = WebApiClient()
    print(api.log_bot_request(BotType.ADMIN, 1, "test_api.py"))