7
0
Files
python-google-api-python-cl…/python-google-api-python-client-no-unittest2.patch
Tomáš Chvátal e6cb580f40 Accepting request 810634 from home:pgajdos:python
- version update to 1.8.4
  * don't try to import GAE API in other environments (#903) (09e6447)
  * the turn down date for global batch uri (#901) (6ddadd7)
  * downgrade repetitive logging calls to debug (#885) (3bf2781), closes #781
- added patches
  fix unittest2 seems to be fake dependency
  + python-google-api-python-client-no-unittest2.patch

OBS-URL: https://build.opensuse.org/request/show/810634
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-python-client?expand=0&rev=35
2020-06-01 14:34:29 +00:00

144 lines
5.5 KiB
Diff

Index: google-api-python-client-1.8.4/tests/test__auth.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test__auth.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test__auth.py 2020-06-01 15:48:23.340280191 +0200
@@ -18,7 +18,7 @@ import google.auth.credentials
import google_auth_httplib2
import httplib2
import oauth2client.client
-import unittest2 as unittest
+import unittest
from googleapiclient import _auth
Index: google-api-python-client-1.8.4/tests/test_channel.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_channel.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_channel.py 2020-06-01 15:48:45.200411976 +0200
@@ -3,7 +3,7 @@ from __future__ import absolute_import
__author__ = "jcgregorio@google.com (Joe Gregorio)"
-import unittest2 as unittest
+import unittest
import datetime
from googleapiclient import channel
Index: google-api-python-client-1.8.4/tests/test_discovery.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_discovery.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_discovery.py 2020-06-01 15:49:06.480540264 +0200
@@ -37,7 +37,7 @@ import os
import pickle
import re
import sys
-import unittest2 as unittest
+import unittest
import mock
Index: google-api-python-client-1.8.4/tests/test_discovery_cache.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_discovery_cache.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_discovery_cache.py 2020-06-01 15:49:21.664631801 +0200
@@ -18,7 +18,7 @@
"""Discovery document cache tests."""
import datetime
-import unittest2 as unittest
+import unittest
import mock
Index: google-api-python-client-1.8.4/tests/test_errors.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_errors.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_errors.py 2020-06-01 15:49:32.728698502 +0200
@@ -21,7 +21,7 @@ from __future__ import absolute_import
__author__ = "afshar@google.com (Ali Afshar)"
-import unittest2 as unittest
+import unittest
import httplib2
Index: google-api-python-client-1.8.4/tests/test_http.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_http.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_http.py 2020-06-01 15:49:53.456823460 +0200
@@ -35,7 +35,7 @@ import io
import logging
import mock
import os
-import unittest2 as unittest
+import unittest
import random
import socket
import ssl
Index: google-api-python-client-1.8.4/tests/test_json_model.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_json_model.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_json_model.py 2020-06-01 15:50:08.064911523 +0200
@@ -28,7 +28,7 @@ import json
import os
import pkg_resources
import platform
-import unittest2 as unittest
+import unittest
import httplib2
import googleapiclient.model
Index: google-api-python-client-1.8.4/tests/test_mocks.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_mocks.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_mocks.py 2020-06-01 15:50:21.572991364 +0200
@@ -24,7 +24,7 @@ __author__ = "jcgregorio@google.com (Joe
import httplib2
import os
-import unittest2 as unittest
+import unittest
from googleapiclient.errors import HttpError
from googleapiclient.errors import UnexpectedBodyError
Index: google-api-python-client-1.8.4/tests/test_model.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_model.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_model.py 2020-06-01 15:50:35.321072029 +0200
@@ -23,7 +23,7 @@ from __future__ import absolute_import
__author__ = "jcgregorio@google.com (Joe Gregorio)"
-import unittest2 as unittest
+import unittest
from googleapiclient.model import BaseModel
from googleapiclient.model import makepatch
Index: google-api-python-client-1.8.4/tests/test_protobuf_model.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_protobuf_model.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_protobuf_model.py 2020-06-01 15:50:53.605179328 +0200
@@ -22,7 +22,7 @@ from __future__ import absolute_import
__author__ = "mmcdonald@google.com (Matt McDonald)"
-import unittest2 as unittest
+import unittest
import httplib2
import googleapiclient.model
Index: google-api-python-client-1.8.4/tests/test_schema.py
===================================================================
--- google-api-python-client-1.8.4.orig/tests/test_schema.py 2020-05-26 22:17:53.000000000 +0200
+++ google-api-python-client-1.8.4/tests/test_schema.py 2020-06-01 15:51:08.885268956 +0200
@@ -19,7 +19,7 @@ __author__ = "jcgregorio@google.com (Joe
import json
import os
-import unittest2 as unittest
+import unittest
from googleapiclient.schema import Schemas