Browse Source

fix tests

tb
ofek 7 years ago
parent
commit
7e110ac5ff
  1. 0
      tests/__init__.py
  2. 7
      tests/test_keys.py

0
tests/__init__.py

7
tests/test_keys.py

@ -0,0 +1,7 @@
from coincurve import PrivateKey, PublicKey
from .samples import PRIVATE_KEY_BYTES, PUBLIC_KEY_COMPRESSED
class TestPrivateKey:
def test_public_key(self):
assert PrivateKey(PRIVATE_KEY_BYTES).public_key.format() == PUBLIC_KEY_COMPRESSED
Loading…
Cancel
Save