root / trunk / pyopencoin / testIS.py
| Revision 240, 259 bytes (checked in by ocmathew, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | from oc import entities, transports, tests |
| 2 | ie = entities.IssuerEntity() |
| 3 | IS = ie.issuer |
| 4 | IS.addCDD(tests.CDD) |
| 5 | IS.setCurrentCDDVersion('1') |
| 6 | ssh = transports.SocketServerHandler('0.0.0.0', 12008, IS.listen) |
| 7 | ssh.debug = 1 |
| 8 | print 'starting' |
| 9 | ssh.start() |
| 10 | print 'fini' |
Note: See TracBrowser
for help on using the browser.
