[Python-modules-commits] [python-asyncssh] 04/07: skip tests requiring network access

Vincent Bernat bernat at moszumanska.debian.org
Sat May 21 14:17:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

bernat pushed a commit to branch master
in repository python-asyncssh.

commit 267bbb23f13c6b15e21b2de9c14d511c9478e81e
Author: Vincent Bernat <vincent at bernat.im>
Date:   Sun Jan 3 18:11:46 2016 +0100

    skip tests requiring network access
---
 tests/test_auth_keys.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/test_auth_keys.py b/tests/test_auth_keys.py
index a97177d..d428e33 100644
--- a/tests/test_auth_keys.py
+++ b/tests/test_auth_keys.py
@@ -17,6 +17,8 @@
 
 """
 
+import unittest
+
 from asyncssh import import_public_key
 from asyncssh.auth_keys import import_authorized_keys, read_authorized_keys
 
@@ -65,6 +67,7 @@ class _TestAuthorizedKeys(TempDirTestCase):
         else:
             return import_authorized_keys(auth_keys)
 
+    @unittest.skip("network access is required for those tests")
     def test_matches(self):
         """Test authorized keys matching"""
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-asyncssh.git



More information about the Python-modules-commits mailing list