pyspv
pyspv copied to clipboard
base58.py unittest FAILED (failures=4)
.FFFF..
FAIL: test_decode_Tgmc_returns_10002343 (main.Base58Tests)
Traceback (most recent call last): File "d:\Tools\new\test\pyspv-master\pyspv\base58.py", line 45, in test_decode_Tgmc_returns_10002343 self.assertEqual(10002343, decoded) AssertionError: 10002343 != 5206695
====================================================================== FAIL: test_decode_if_returns_1000 (main.Base58Tests)
Traceback (most recent call last): File "d:\Tools\new\test\pyspv-master\pyspv\base58.py", line 53, in test_decode_if_returns_1000 self.assertEqual(1000, decoded) AssertionError: 1000 != 2416
====================================================================== FAIL: test_encode_10002343_returns_Tgmc (main.Base58Tests)
Traceback (most recent call last): File "d:\Tools\new\test\pyspv-master\pyspv\base58.py", line 41, in test_encode_10002343_returns_Tgmc self.assertEqual('Tgmc', result) AssertionError: 'Tgmc' != 'tGMC'
- Tgmc
- tGMC
====================================================================== FAIL: test_encode_1000_returns_if (main.Base58Tests)
Traceback (most recent call last): File "d:\Tools\new\test\pyspv-master\pyspv\base58.py", line 49, in test_encode_1000_returns_if self.assertEqual('if', result) AssertionError: 'if' != 'JF'
- if
- JF
Ran 7 tests in 0.024s
FAILED (failures=4)
python version 3.6