2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test__auth.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test__auth.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test__auth.py
|
|
|
|
|
@@ -18,7 +18,7 @@ import google.auth.credentials
|
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
|
|
|
|
|
|
2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test_channel.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_channel.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_channel.py
|
|
|
|
|
@@ -3,7 +3,7 @@ from __future__ import absolute_import
|
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
|
2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test_discovery_cache.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_discovery_cache.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_discovery_cache.py
|
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
|
|
|
|
|
|
2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test_discovery.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_discovery.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_discovery.py
|
|
|
|
|
@@ -35,7 +35,7 @@ import os
|
2020-09-10 14:15:10 +00:00
|
|
|
import pickle
|
|
|
|
|
import re
|
|
|
|
|
import sys
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
2021-09-13 01:42:38 +00:00
|
|
|
import urllib
|
2020-09-10 14:15:10 +00:00
|
|
|
|
|
|
|
|
from parameterized import parameterized
|
2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test_errors.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_errors.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_errors.py
|
|
|
|
|
@@ -21,7 +21,7 @@ from __future__ import absolute_import
|
2020-06-01 14:34:29 +00:00
|
|
|
__author__ = "afshar@google.com (Ali Afshar)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
import httplib2
|
|
|
|
|
|
|
|
|
|
|
2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test_http.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_http.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_http.py
|
|
|
|
|
@@ -31,7 +31,7 @@ import io
|
2020-06-01 14:34:29 +00:00
|
|
|
import logging
|
|
|
|
|
import mock
|
|
|
|
|
import os
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
2021-09-13 01:42:38 +00:00
|
|
|
import urllib
|
2020-06-01 14:34:29 +00:00
|
|
|
import random
|
|
|
|
|
import socket
|
2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test_json_model.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_json_model.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_json_model.py
|
|
|
|
|
@@ -26,7 +26,7 @@ import httplib2
|
|
|
|
|
import json
|
2020-06-01 14:34:29 +00:00
|
|
|
import pkg_resources
|
|
|
|
|
import platform
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
2021-09-13 01:42:38 +00:00
|
|
|
import urllib
|
2020-06-01 14:34:29 +00:00
|
|
|
|
2021-09-13 01:42:38 +00:00
|
|
|
import googleapiclient.model
|
|
|
|
|
Index: google-api-python-client-2.20.0/tests/test_mocks.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_mocks.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_mocks.py
|
|
|
|
|
@@ -24,7 +24,7 @@ __author__ = "jcgregorio@google.com (Joe
|
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
|
2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test_model.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_model.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_model.py
|
|
|
|
|
@@ -23,7 +23,7 @@ from __future__ import absolute_import
|
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
|
2021-09-13 01:42:38 +00:00
|
|
|
Index: google-api-python-client-2.20.0/tests/test_protobuf_model.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_protobuf_model.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_protobuf_model.py
|
|
|
|
|
@@ -22,7 +22,7 @@ from __future__ import absolute_import
|
2020-06-01 14:34:29 +00:00
|
|
|
|
|
|
|
|
__author__ = "mmcdonald@google.com (Matt McDonald)"
|
|
|
|
|
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
import httplib2
|
|
|
|
|
|
2021-09-13 01:42:38 +00:00
|
|
|
from googleapiclient.model import ProtocolBufferModel
|
|
|
|
|
Index: google-api-python-client-2.20.0/tests/test_schema.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- google-api-python-client-2.20.0.orig/tests/test_schema.py
|
|
|
|
|
+++ google-api-python-client-2.20.0/tests/test_schema.py
|
|
|
|
|
@@ -19,7 +19,7 @@ __author__ = "jcgregorio@google.com (Joe
|
2020-06-01 14:34:29 +00:00
|
|
|
|
|
|
|
|
import json
|
|
|
|
|
import os
|
|
|
|
|
-import unittest2 as unittest
|
|
|
|
|
+import unittest
|
|
|
|
|
|
|
|
|
|
from googleapiclient.schema import Schemas
|
|
|
|
|
|