summaryrefslogtreecommitdiff
path: root/test/test_api.py
blob: 959b2b3e8c6357eb73caf09d1a7bc1c99fc2ac69 (plain)
1
2
3
4
5
6
7
8
9
10
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"))