Ejemplo n.º 1
0
class SequentialWalletTest(unittest.TestCase):
	reference = {
		'passphrase': 'shepherd mais pack rate enamel horace diva filesize maximum really roar mall',
		'bitcoin_keypair_1': {
			'address': '1DS2vmsqTwtXp1DfmDHi55Aqc6w4LBUC9k',
		}
	}

	def setUp(self):
		self.wallet = SDWallet(self.reference['passphrase'])

	def tearDown(self):
		pass

	def test_bitcoin_keypairs(self):
		bitcoin_keypair_1 = self.wallet.keypair(1, BitcoinKeypair)
		self.assertTrue(self.reference['bitcoin_keypair_1']['address'], bitcoin_keypair_1.address())
		self.assertTrue(bitcoin_keypair_1.passphrase(), self.reference['passphrase'] + ' bitcoin1')
Ejemplo n.º 2
0
class SequentialWalletTest(unittest.TestCase):
    reference = {
        'passphrase':
        'shepherd mais pack rate enamel horace diva filesize maximum really roar mall',
        'bitcoin_keypair_1': {
            'address': '1DS2vmsqTwtXp1DfmDHi55Aqc6w4LBUC9k',
        }
    }

    def setUp(self):
        self.wallet = SDWallet(self.reference['passphrase'])

    def tearDown(self):
        pass

    def test_bitcoin_keypairs(self):
        bitcoin_keypair_1 = self.wallet.keypair(1, BitcoinKeypair)
        self.assertTrue(self.reference['bitcoin_keypair_1']['address'],
                        bitcoin_keypair_1.address())
        self.assertTrue(bitcoin_keypair_1.passphrase(),
                        self.reference['passphrase'] + ' bitcoin1')
Ejemplo n.º 3
0
 def setUp(self):
     self.wallet = SDWallet(self.reference['passphrase'])
Ejemplo n.º 4
0
	def setUp(self):
		self.wallet = SDWallet(self.reference['passphrase'])