trezor: rename wrapper

This commit is contained in:
Roman Zeyde 2015-08-18 21:30:42 +03:00
parent 592bc78391
commit 783722edce
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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