File: skip-network-test

package info (click to toggle)
mariadb-connector-python 1.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 812 kB
  • sloc: python: 6,099; ansic: 4,896; sh: 23; makefile: 14
file content (21 lines) | stat: -rw-r--r-- 771 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: "Michael R. Crusoe" <crusoe@debian.org>
Date: Sun, 30 Mar 2025 20:08:05 +0200
Subject: skip a test that requires network access

Forwarded: not-needed
---
 testing/test/integration/test_exception.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testing/test/integration/test_exception.py b/testing/test/integration/test_exception.py
index 2b290e5..5d6455f 100644
--- a/testing/test/integration/test_exception.py
+++ b/testing/test/integration/test_exception.py
@@ -38,6 +38,7 @@ class TestException(unittest.TestCase):
             self.assertTrue(err.errmsg.find("Unknown database 'unknown'") > -1)
             pass
 
+    @unittest.skip("requires network access")
     def test_conn_timeout_exception(self):
         start = datetime.today()
         try: