Skip to content

Commit e562dba

Browse files
author
Pan
committed
Updated changelog. Skip agent test if agent not available.
1 parent e652ca9 commit e562dba

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Changes
1919
* Added SSH agent forwarding to native client, defaults to on as per paramiko client - ``forward_ssh_agent`` keyword parameter.
2020
* Windows wheels switched to OpenSSL back end for native client.
2121
* Windows wheels include zlib and have compression enabled for native client.
22+
* Added OSX 10.13 wheel build.
2223

2324
Fixes
2425
------

tests/test_agent_native.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@
3030
pssh_logger.setLevel(logging.DEBUG)
3131
logging.basicConfig()
3232

33+
3334
class ForwardTestCase(unittest.TestCase):
3435

3536
@classmethod
3637
def setUpClass(cls):
3738
_mask = int('0600') if version_info <= (2,) else 0o600
3839
os.chmod(PKEY_FILENAME, _mask)
39-
call('ssh-add %s' % PKEY_FILENAME, shell=True)
40+
if call('ssh-add %s' % PKEY_FILENAME, shell=True) != 1:
41+
raise unittest.SkipTest("No agent available.")
4042
cls.server = OpenSSHServer()
4143
cls.server.start_server()
4244
cls.host = '127.0.0.1'

0 commit comments

Comments
 (0)