[Python-modules-commits] [python-asyncssh] 09/14: skip tests requiring network access

Vincent Bernat bernat at moszumanska.debian.org
Sat Sep 10 12:10:11 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 80b0b9d365c3e098544dae34ad4712aad73771fc
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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test_auth_keys.py b/tests/test_auth_keys.py
index c103728..f5984f9 100644
--- a/tests/test_auth_keys.py
+++ b/tests/test_auth_keys.py
@@ -18,6 +18,7 @@
 """
 
 from unittest.mock import patch
+import unittest
 
 from asyncssh import import_public_key
 from asyncssh.auth_keys import import_authorized_keys, read_authorized_keys
@@ -67,6 +68,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