[Python-modules-commits] [python-asyncssh] 03/06: skip tests requiring network access

Vincent Bernat bernat at moszumanska.debian.org
Wed Oct 26 20:39:00 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 631d88a1e9590c7b06060a3a601d0db1336e5e20
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 0bb50fe..d36ef50 100644
--- a/tests/test_auth_keys.py
+++ b/tests/test_auth_keys.py
@@ -13,6 +13,7 @@
 """Unit tests for matching against authorized_keys file"""
 
 from unittest.mock import patch
+import unittest
 
 import asyncssh
 
@@ -55,6 +56,7 @@ class _TestAuthorizedKeys(TempDirTestCase):
         else:
             return asyncssh.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