File: skip-network-doing-unit-test.patch

package info (click to toggle)
python-oauth2client 2.0.1-3~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,108 kB
  • sloc: python: 8,964; makefile: 188; sh: 55
file content (15 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Skip networking doing unit test
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2016-03-22

--- python-oauth2client-2.0.1.orig/tests/test_tools.py
+++ python-oauth2client-2.0.1/tests/test_tools.py
@@ -9,6 +9,7 @@ import threading
 class TestClientRedirectServer(unittest.TestCase):
     """Test the ClientRedirectServer and ClientRedirectHandler classes."""
 
+    @unittest.skip("Skipped in Debian: doing network access")
     def test_ClientRedirectServer(self):
         # create a ClientRedirectServer and run it in a thread to listen
         # for a mock GET request with the access token