fixup lint errors

This commit is contained in:
Roman Zeyde
2016-03-12 21:06:57 +02:00
parent 716dc82312
commit f056f1fac5
3 changed files with 9 additions and 5 deletions

View File

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