summaryrefslogtreecommitdiff
path: root/test/test_polaris_stuff.py
blob: 7778667e5921f2a748946d2711f6326b8acab27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python3
import __py_include
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)