git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4139454
)
Made _do_test_crypto private to allow nosetests
author
Chris Glass
<tribaal@gmail.com>
Wed, 25 Jun 2014 06:45:37 +0000 (08:45 +0200)
committer
Chris Glass
<tribaal@gmail.com>
Wed, 25 Jun 2014 06:45:37 +0000 (08:45 +0200)
lib/tests/test_bitcoin.py
patch
|
blob
|
history
diff --git
a/lib/tests/test_bitcoin.py
b/lib/tests/test_bitcoin.py
index
d4f8261
..
c1146a4
100644
(file)
--- a/
lib/tests/test_bitcoin.py
+++ b/
lib/tests/test_bitcoin.py
@@
-17,9
+17,9
@@
class Test_bitcoin(unittest.TestCase):
def test_crypto(self):
for message in ["Chancellor on brink of second bailout for banks", chr(255)*512]:
- self.do_test_crypto(message)
+ self._do_test_crypto(message)
- def do_test_crypto(self, message):
+ def _do_test_crypto(self, message):
G = generator_secp256k1
_r = G.order()
pvk = ecdsa.util.randrange( pow(2,256) ) %_r