trezor: rename wrapper
This commit is contained in:
parent
592bc78391
commit
783722edce
@ -5,7 +5,7 @@ import binascii
|
|||||||
|
|
||||||
from .. import util
|
from .. import util
|
||||||
from .. import formats
|
from .. import formats
|
||||||
from . import trezor_library
|
from . import _factory as TrezorFactory
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
@ -13,7 +13,7 @@ log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
class Client(object):
|
class Client(object):
|
||||||
|
|
||||||
def __init__(self, factory=trezor_library):
|
def __init__(self, factory=TrezorFactory):
|
||||||
self.factory = factory
|
self.factory = factory
|
||||||
self.client = self.factory.client()
|
self.client = self.factory.client()
|
||||||
f = self.client.features
|
f = self.client.features
|
||||||
|
2
tox.ini
2
tox.ini
@ -14,5 +14,5 @@ deps=
|
|||||||
commands=
|
commands=
|
||||||
pep8 sshagent
|
pep8 sshagent
|
||||||
pylint --report=no --rcfile .pylintrc 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
|
coverage report
|
||||||
|
Loading…
Reference in New Issue
Block a user