tests.test_bitcoin¶
Classes
|
-
class
tests.test_bitcoin.TestBitcoinEmulator(methodName='runTest')[source]¶ -
EXTERNAL_ADDRESS= '13J8HRihYqEDYHAxLciryQYTjpxXcjYMmR'¶ A Bitcoin address considered ‘foreign’ for testing that sending reduces balance
-
LOCAL_ADDRESS= '1PNgW6AgPZMys844kFS2dK4tt7F36MzLC8'¶ A Bitcoin address considered to be in the wallet
-
emulator= None¶ Stores the
Processreturned frombitcoin.j_server()
-
classmethod
setUpClass() → None[source]¶ Launch the Bitcoin RPC emulator in the background on default port 8332
-
test_getblockchaininfo()[source]¶ Test that the
getblockchaininfoJsonRPC call returns data as expected
-