root / trunk / pyopencoin / testIS.py

Revision 240, 259 bytes (checked in by ocmathew, 4 years ago)

Update testIS to work with cdd versions

Line 
1from oc import entities, transports, tests
2ie = entities.IssuerEntity()
3IS = ie.issuer
4IS.addCDD(tests.CDD)
5IS.setCurrentCDDVersion('1')
6ssh = transports.SocketServerHandler('0.0.0.0', 12008, IS.listen)
7ssh.debug = 1
8print 'starting'
9ssh.start()
10print 'fini'
Note: See TracBrowser for help on using the browser.