Let's see how the graph changes if we only cover nkms.

pull/81/head
jMyles 2017-10-17 18:24:19 -07:00
parent b90da13470
commit 334c7807ad
4 changed files with 6 additions and 3 deletions

2
.coveragerc Normal file
View File

@ -0,0 +1,2 @@
[run]
source=nkms

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ __pycache__
/MANIFEST
/.tox
/.idea
.coverage

View File

@ -7,7 +7,7 @@ install:
- pip install pipenv --upgrade
- pipenv install --dev --three
script:
- pipenv run "pytest --cov=./ -v tests"
- pipenv run "pytest --cov=./nkms/* -v tests"
- codecov
notifications:
slack:

View File

@ -69,8 +69,8 @@ class CryptoPower(object):
"""
try:
sig_keypair = self._power_ups[SigningPower]
except KeyError:
raise NoSigningPower
except KeyError as e:
raise NoSigningPower(e)
msg_digest = b"".join(API.keccak_digest(m) for m in messages)
return sig_keypair.sign(msg_digest)