diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-25 11:42:19 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2018-09-17 14:50:02 -0700 |
commit | 1fa48b482c2db097da2b69dcaa79b3f7db98f1f0 (patch) | |
tree | b0fa3635fbf146013f293ba95fa86597b89de4d4 /tests/test_transport.py | |
parent | 6b377c0e33c5d3443883de770a03cdb53140d07c (diff) |
Mark known slow tests as 'slow' pytest marker, and skip them by default
Diffstat (limited to 'tests/test_transport.py')
-rw-r--r-- | tests/test_transport.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_transport.py b/tests/test_transport.py index 7fa67c43..9474acfc 100644 --- a/tests/test_transport.py +++ b/tests/test_transport.py @@ -44,7 +44,7 @@ from paramiko.common import ( from paramiko.py3compat import bytes from paramiko.message import Message -from .util import needs_builtin, _support +from .util import needs_builtin, _support, slow from .loop import LoopSocket @@ -257,6 +257,7 @@ class TransportTest(unittest.TestCase): self.tc.renegotiate_keys() self.ts.send_ignore(1024) + @slow def test_5_keepalive(self): """ verify that the keepalive will be sent. @@ -820,6 +821,7 @@ class TransportTest(unittest.TestCase): (2**32, MAX_WINDOW_SIZE)]: self.assertEqual(self.tc._sanitize_window_size(val), correct) + @slow def test_L_handshake_timeout(self): """ verify that we can get a hanshake timeout. |