2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test__auth.py google-api-python-client-1.11.0/tests/test__auth.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test__auth.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test__auth.py 2020-09-10 15:54:13.243410474 +0200
|
|
|
|
|
@@ -18,7 +18,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
import google_auth_httplib2
|
|
|
|
|
import httplib2
|
|
|
|
|
import oauth2client.client
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
|
|
|
|
|
from googleapiclient import _auth
|
|
|
|
|
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_channel.py google-api-python-client-1.11.0/tests/test_channel.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_channel.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_channel.py 2020-09-10 15:54:13.243410474 +0200
|
|
|
|
|
@@ -3,7 +3,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
|
|
|
|
|
__author__ = "jcgregorio@google.com (Joe Gregorio)"
|
|
|
|
|
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
import datetime
|
|
|
|
|
|
|
|
|
|
from googleapiclient import channel
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_discovery_cache.py google-api-python-client-1.11.0/tests/test_discovery_cache.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_discovery_cache.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_discovery_cache.py 2020-09-10 15:54:13.243410474 +0200
|
2020-06-01 14:34:29 +00:00
|
|
|
@@ -18,7 +18,7 @@
|
|
|
|
|
"""Discovery document cache tests."""
|
|
|
|
|
|
|
|
|
|
import datetime
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
|
|
|
|
|
import mock
|
|
|
|
|
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_discovery.py google-api-python-client-1.11.0/tests/test_discovery.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_discovery.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_discovery.py 2020-09-10 15:54:40.883760261 +0200
|
|
|
|
|
@@ -37,7 +37,7 @@
|
|
|
|
|
import pickle
|
|
|
|
|
import re
|
|
|
|
|
import sys
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
from collections import defaultdict
|
|
|
|
|
|
|
|
|
|
from parameterized import parameterized
|
|
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_errors.py google-api-python-client-1.11.0/tests/test_errors.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_errors.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_errors.py 2020-09-10 15:54:13.247410524 +0200
|
|
|
|
|
@@ -21,7 +21,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
__author__ = "afshar@google.com (Ali Afshar)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
import httplib2
|
|
|
|
|
|
|
|
|
|
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_http.py google-api-python-client-1.11.0/tests/test_http.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_http.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_http.py 2020-09-10 15:54:13.247410524 +0200
|
|
|
|
|
@@ -35,7 +35,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
import logging
|
|
|
|
|
import mock
|
|
|
|
|
import os
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
import random
|
|
|
|
|
import socket
|
|
|
|
|
import ssl
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_json_model.py google-api-python-client-1.11.0/tests/test_json_model.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_json_model.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_json_model.py 2020-09-10 15:54:13.247410524 +0200
|
|
|
|
|
@@ -28,7 +28,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
import os
|
|
|
|
|
import pkg_resources
|
|
|
|
|
import platform
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
import httplib2
|
|
|
|
|
import googleapiclient.model
|
|
|
|
|
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_mocks.py google-api-python-client-1.11.0/tests/test_mocks.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_mocks.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_mocks.py 2020-09-10 15:54:13.247410524 +0200
|
|
|
|
|
@@ -24,7 +24,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
|
|
|
|
|
import httplib2
|
|
|
|
|
import os
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
|
|
|
|
|
from googleapiclient.errors import HttpError
|
|
|
|
|
from googleapiclient.errors import UnexpectedBodyError
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_model.py google-api-python-client-1.11.0/tests/test_model.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_model.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_model.py 2020-09-10 15:54:13.247410524 +0200
|
|
|
|
|
@@ -23,7 +23,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
|
|
|
|
|
__author__ = "jcgregorio@google.com (Joe Gregorio)"
|
|
|
|
|
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
|
|
|
|
|
from googleapiclient.model import BaseModel
|
|
|
|
|
from googleapiclient.model import makepatch
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_protobuf_model.py google-api-python-client-1.11.0/tests/test_protobuf_model.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_protobuf_model.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_protobuf_model.py 2020-09-10 15:54:13.247410524 +0200
|
|
|
|
|
@@ -22,7 +22,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
|
|
|
|
|
__author__ = "mmcdonald@google.com (Matt McDonald)"
|
|
|
|
|
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
import httplib2
|
|
|
|
|
import googleapiclient.model
|
|
|
|
|
|
2020-09-10 14:15:10 +00:00
|
|
|
diff -Nru google-api-python-client-1.11.0.orig/tests/test_schema.py google-api-python-client-1.11.0/tests/test_schema.py
|
|
|
|
|
--- google-api-python-client-1.11.0.orig/tests/test_schema.py 2020-08-27 23:33:51.000000000 +0200
|
|
|
|
|
+++ google-api-python-client-1.11.0/tests/test_schema.py 2020-09-10 15:54:13.247410524 +0200
|
|
|
|
|
@@ -19,7 +19,7 @@
|
2020-06-01 14:34:29 +00:00
|
|
|
|
|
|
|
|
import json
|
|
|
|
|
import os
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
|
|
|
|
|
from googleapiclient.schema import Schemas
|
|
|
|
|
|