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_auth.py | |
parent | 4f85487b02bd7fc845f1c0726b9ec2a7703d7631 (diff) |
Mark known slow tests as 'slow' pytest marker, and skip them by default
Diffstat (limited to 'tests/test_auth.py')
-rw-r--r-- | tests/test_auth.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py index c619dc33..4eade610 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -33,7 +33,7 @@ from paramiko import AUTH_FAILED, AUTH_PARTIALLY_SUCCESSFUL, AUTH_SUCCESSFUL from paramiko.py3compat import u from .loop import LoopSocket -from .util import _support +from .util import _support, slow _pwd = u('\u2022') @@ -240,6 +240,7 @@ class AuthTest (unittest.TestCase): etype, evalue, etb = sys.exc_info() self.assertTrue(issubclass(etype, AuthenticationException)) + @slow def test_9_auth_non_responsive(self): """ verify that authentication times out if server takes to long to |