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

package info (click to toggle)
python-oauth2client 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,316 kB
  • ctags: 1,744
  • sloc: python: 11,528; makefile: 188; sh: 55
file content (17 lines) | stat: -rw-r--r-- 766 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Skip networking doing unit test
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2016-03-22

Index: python-oauth2client/tests/test_tools.py
===================================================================
--- python-oauth2client.orig/tests/test_tools.py
+++ python-oauth2client/tests/test_tools.py
@@ -32,6 +32,7 @@ except ImportError:  # pragma: NO COVER
 class TestClientRedirectServer(unittest2.TestCase):
     """Test the ClientRedirectServer and ClientRedirectHandler classes."""
 
+    @unittest2.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