def test_get_try_limit(self): blockchain = Blockchain(try_limit=10000) self.assertEqual(10000, blockchain.get_try_limit())
def test_set_try_limit(self): blockchain = Blockchain() blockchain.set_try_limit(try_limit=10) self.assertEqual(10, blockchain.get_try_limit())