mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 22:06:27 +08:00
fixup lint errors
This commit is contained in:
@@ -114,6 +114,8 @@ def test_ssh_agent():
|
||||
assert r[1:] + s[1:] == SIG[1:]
|
||||
|
||||
c.client.call_exception = ValueError
|
||||
|
||||
# pylint: disable=unused-argument
|
||||
def cancel_sign_identity(identity, challenge_hidden,
|
||||
challenge_visual, ecdsa_curve_name):
|
||||
raise c.client.call_exception(42, 'ERROR')
|
||||
@@ -122,6 +124,7 @@ def test_ssh_agent():
|
||||
with pytest.raises(IOError):
|
||||
c.sign_ssh_challenge(label=label, blob=BLOB, visual='VISUAL')
|
||||
|
||||
|
||||
def test_utils():
|
||||
identity = mock.Mock(spec=[])
|
||||
identity.proto = 'https'
|
||||
|
||||
Reference in New Issue
Block a user