diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-25 11:42:19 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-10-25 11:42:19 -0700 |
commit | b7df94b8a419f7ed949421d22896286dc1b15233 (patch) | |
tree | 254d67fa37996ebc76f33430763dce37a3b262b1 /tests/test_transport.py | |
parent | 4f85487b02bd7fc845f1c0726b9ec2a7703d7631 (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 46c26c0e..00639d04 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 @@ -246,6 +246,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. @@ -809,6 +810,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. |