Changeset 327 for trunk/sandbox/jhb/oc2/testwallet.py
- Timestamp:
- 06/15/09 02:46:06 (3 years ago)
- Files:
-
- 1 modified
-
trunk/sandbox/jhb/oc2/testwallet.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sandbox/jhb/oc2/testwallet.py
r279 r327 4 4 >>> w = wallet.Wallet(storage.Storage().setFilename('data/test.bin')) 5 5 >>> import transports 6 >>> transport = transports.HTTPTransport('http://localhost:9090/') 7 >>> w.buyCoins(transport,97,'foobar') 8 6 >>> transport = transports.HTTPTransport('http://baach.de:9090/') 7 >>> w.addCurrency(transport) 8 >>> w.mintCoins(transport,13,'foobar') 9 >>> transport = transports.HTTPTransport('http://localhost:9091/wallet.cgi') 10 >>> w.spendCoins(transport,'BaachBuck',5,'foobar') 9 11 10 12 """
