trezor: rename wrapper
This commit is contained in:
@@ -5,7 +5,7 @@ import binascii
|
||||
|
||||
from .. import util
|
||||
from .. import formats
|
||||
from . import trezor_library
|
||||
from . import _factory as TrezorFactory
|
||||
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
@@ -13,7 +13,7 @@ log = logging.getLogger(__name__)
|
||||
|
||||
class Client(object):
|
||||
|
||||
def __init__(self, factory=trezor_library):
|
||||
def __init__(self, factory=TrezorFactory):
|
||||
self.factory = factory
|
||||
self.client = self.factory.client()
|
||||
f = self.client.features
|
||||
|
||||
2
tox.ini
2
tox.ini
@@ -14,5 +14,5 @@ deps=
|
||||
commands=
|
||||
pep8 sshagent
|
||||
pylint --report=no --rcfile .pylintrc sshagent
|
||||
coverage run --omit='sshagent/__main__.py,sshagent/trezor_library.py' --source sshagent/ -m py.test -v
|
||||
coverage run --omit='sshagent/__main__.py,sshagent/trezor/_library.py' --source sshagent/ -m py.test -v
|
||||
coverage report
|
||||
|
||||
Reference in New Issue
Block a user