File: 0002-skip-tests-requiring-network-access.patch

package info (click to toggle)
python-asyncssh 2.10.1-2%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,252 kB
  • sloc: python: 36,288; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 618 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Vincent Bernat <vincent@bernat.im>
Date: Sun, 3 Jan 2016 18:11:46 +0100
Subject: skip tests requiring network access

---
 tests/test_auth_keys.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_auth_keys.py b/tests/test_auth_keys.py
index 27d4190..eba49e1 100644
--- a/tests/test_auth_keys.py
+++ b/tests/test_auth_keys.py
@@ -95,6 +95,7 @@ class _TestAuthorizedKeys(TempDirTestCase):
 
                     self.assertEqual(result is not None, match)
 
+    @unittest.skip("network access is required for those tests")
     def test_matches(self):
         """Test authorized keys matching"""