mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-03 04:49:41 +00:00
Use the better variable name
This commit is contained in:
parent
079ffbd874
commit
42f6a5609f
@ -36,7 +36,9 @@ class Handler(GridTestMixin, ShouldFailMixin, ReallyEqualMixin, unittest.TestCas
|
|||||||
"""This is a no-network unit test of the SFTPUserHandler and the abstractions it uses."""
|
"""This is a no-network unit test of the SFTPUserHandler and the abstractions it uses."""
|
||||||
|
|
||||||
if conch_unavailable_reason:
|
if conch_unavailable_reason:
|
||||||
skip = "SFTP support requires Twisted Conch which is not available: {}".format(e)
|
skip = "SFTP support requires Twisted Conch which is not available: {}".format(
|
||||||
|
conch_unavailable_reason,
|
||||||
|
)
|
||||||
|
|
||||||
def shouldFailWithSFTPError(self, expected_code, which, callable, *args, **kwargs):
|
def shouldFailWithSFTPError(self, expected_code, which, callable, *args, **kwargs):
|
||||||
assert isinstance(expected_code, int), repr(expected_code)
|
assert isinstance(expected_code, int), repr(expected_code)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user