summaryrefslogtreecommitdiff
path: root/test/test_polaris_stuff.py
blob: 88b23b91d0422902d63a3b5d68c0ff0f37bd356d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python3
import include_homekit
import syncleo


if __name__ == '__main__':
    sc = [cl for cl in syncleo.protocol.CmdIncomingMessage.__subclasses__()
          if cl is not syncleo.protocol.SimpleBooleanMessage]
    sc.extend(syncleo.protocol.SimpleBooleanMessage.__subclasses__())
    for cl in sc:
        # if cl == polaris.protocol.HandshakeMessage:
        #     print('skip')
        #     continue
        print(cl.__name__, cl.TYPE)