Skip to content

Commit

Permalink
[test][libpy] refs skycoin#71 Repairing errors, testing and fixing th…
Browse files Browse the repository at this point in the history
…e __init__.py of pyskycoin 98 passed in 25.12 seconds
  • Loading branch information
Maykel Arias Torres committed Dec 26, 2018
1 parent 3d77436 commit 7a4b01d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 471 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ tests/mytest.py
*.swo

# IDES
.idea/
.idea/
.vscode/
1 change: 0 additions & 1 deletion skycoin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ def _print2stderr(msg):

try:
from .skycoin import *
from .skyerror import *
except (AttributeError, ImportError) as _err :
init_error = _err

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cipher_crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def test_TestPubKeyFromSig():
assert skycoin.SKY_cipher_PubKeyFromSig(sig_1, sha_sum, public_key_2) == skycoin.SKY_OK
assert public_key == public_key_2
sig_2 = skycoin.cipher_Sig()
assert skycoin.SKY_cipher_PubKeyFromSig(sig_2, sha_sum, public_key_2) == skycoin.SKY_ErrInvalidSigForPubKey
assert skycoin.SKY_cipher_PubKeyFromSig(sig_2, sha_sum, public_key_2) == skycoin.SKY_ErrInvalidSigPubKeyRecovery



Expand Down
Loading

0 comments on commit 7a4b01d

Please sign in to comment.