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

Vincent Bernat bernat at moszumanska.debian.org
Mon Sep 18 10:02:30 UTC 2017


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

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

commit 8ad4e85cc2c16e078e74278b8c4aca77ac96cf68
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