File: skip_networked_tests.patch

package info (click to toggle)
pyro4 4.82-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 2,528 kB
  • sloc: python: 17,736; makefile: 169; sh: 113; javascript: 62
file content (62 lines) | stat: -rw-r--r-- 2,051 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Description: buildds don't have network access
 These tests need an ip address, DNS name resolution or network access.
Forwarded: not-needed
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2019-09-08

---

--- pyro4-4.76.orig/tests/PyroTests/test_naming.py
+++ pyro4-4.76/tests/PyroTests/test_naming.py
@@ -31,6 +31,7 @@ class NSLoopThread(threading.Thread):
             pass  # ignore pyro communication errors
 
 
+@unittest.skip("no network access on buildds")
 class BCSetupTests(unittest.TestCase):
     def testBCstart(self):
         myIpAddress = Pyro4.socketutil.getIpAddress("", workaround127=True)
@@ -45,6 +46,7 @@ class BCSetupTests(unittest.TestCase):
         bcserver.close()
 
 
+@unittest.skip("no network access on buildds")
 class NameServerTests(unittest.TestCase):
     def setUp(self):
         config.POLLTIMEOUT = 0.1
@@ -222,6 +224,7 @@ class NameServerTests(unittest.TestCase)
             config.COMMTIMEOUT = 0.0
 
 
+@unittest.skip("no network access on buildds")
 class NameServerTests0000(unittest.TestCase):
     def setUp(self):
         config.POLLTIMEOUT = 0.1
@@ -253,6 +256,7 @@ class NameServerTests0000(unittest.TestC
         ns._pyroRelease()
 
 
+@unittest.skip("no network access on buildds")
 class NameServerTestsHmac(unittest.TestCase):
     def setUp(self):
         config.POLLTIMEOUT = 0.1
--- pyro4-4.76.orig/tests/PyroTests/test_naming2.py
+++ pyro4-4.76/tests/PyroTests/test_naming2.py
@@ -18,6 +18,7 @@ from Pyro4.errors import NamingError, Py
 from testsupport import *
 
 
+@unittest.skip("no network access on buildds")
 class OfflineNameServerTests(unittest.TestCase):
     def setUp(self):
         self.storageProvider = Pyro4.naming.MemoryStorage()
--- pyro4-4.76.orig/tests/PyroTests/test_socket.py
+++ pyro4-4.76/tests/PyroTests/test_socket.py
@@ -50,6 +50,7 @@ class TestSocketStuff(unittest.TestCase)
         s.close()
 
 
+@unittest.skip("no network access on buildds")
 class TestSocketutil(unittest.TestCase):
     def setUp(self):
         config.POLLTIMEOUT = 0.1