mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
144 lines
3.7 KiB
Diff
144 lines
3.7 KiB
Diff
diff --git a/tests/test__auth.py b/tests/test__auth.py
|
|
index d43fe68..7f9df84 100644
|
|
--- a/tests/test__auth.py
|
|
+++ b/tests/test__auth.py
|
|
@@ -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
|
|
|
|
diff --git a/tests/test_channel.py b/tests/test_channel.py
|
|
index 4141353..2651fcd 100644
|
|
--- a/tests/test_channel.py
|
|
+++ b/tests/test_channel.py
|
|
@@ -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
|
|
diff --git a/tests/test_discovery.py b/tests/test_discovery.py
|
|
index b41051a..ba5f1ba 100644
|
|
--- a/tests/test_discovery.py
|
|
+++ b/tests/test_discovery.py
|
|
@@ -37,7 +37,7 @@ import os
|
|
import pickle
|
|
import re
|
|
import sys
|
|
-import unittest2 as unittest
|
|
+import unittest
|
|
|
|
import mock
|
|
|
|
diff --git a/tests/test_discovery_cache.py b/tests/test_discovery_cache.py
|
|
index 1786406..39871fe 100644
|
|
--- a/tests/test_discovery_cache.py
|
|
+++ b/tests/test_discovery_cache.py
|
|
@@ -18,7 +18,7 @@
|
|
"""Discovery document cache tests."""
|
|
|
|
import datetime
|
|
-import unittest2 as unittest
|
|
+import unittest
|
|
|
|
import mock
|
|
|
|
diff --git a/tests/test_errors.py b/tests/test_errors.py
|
|
index e4d2f09..affd2da 100644
|
|
--- a/tests/test_errors.py
|
|
+++ b/tests/test_errors.py
|
|
@@ -21,7 +21,7 @@ from __future__ import absolute_import
|
|
__author__ = 'afshar@google.com (Ali Afshar)'
|
|
|
|
|
|
-import unittest2 as unittest
|
|
+import unittest
|
|
import httplib2
|
|
|
|
|
|
diff --git a/tests/test_http.py b/tests/test_http.py
|
|
index b92e63f..f60d21b 100644
|
|
--- a/tests/test_http.py
|
|
+++ b/tests/test_http.py
|
|
@@ -35,7 +35,7 @@ import io
|
|
import logging
|
|
import mock
|
|
import os
|
|
-import unittest2 as unittest
|
|
+import unittest
|
|
import random
|
|
import socket
|
|
import ssl
|
|
diff --git a/tests/test_json_model.py b/tests/test_json_model.py
|
|
index 006eb47..f1d2116 100644
|
|
--- a/tests/test_json_model.py
|
|
+++ b/tests/test_json_model.py
|
|
@@ -27,7 +27,7 @@ import copy
|
|
import json
|
|
import os
|
|
import platform
|
|
-import unittest2 as unittest
|
|
+import unittest
|
|
import httplib2
|
|
import googleapiclient.model
|
|
|
|
diff --git a/tests/test_mocks.py b/tests/test_mocks.py
|
|
index a456b9e..2fd6517 100644
|
|
--- a/tests/test_mocks.py
|
|
+++ b/tests/test_mocks.py
|
|
@@ -24,7 +24,7 @@ __author__ = 'jcgregorio@google.com (Joe Gregorio)'
|
|
|
|
import httplib2
|
|
import os
|
|
-import unittest2 as unittest
|
|
+import unittest
|
|
|
|
from googleapiclient.errors import HttpError
|
|
from googleapiclient.errors import UnexpectedBodyError
|
|
diff --git a/tests/test_model.py b/tests/test_model.py
|
|
index 6506cfc..1d48194 100644
|
|
--- a/tests/test_model.py
|
|
+++ b/tests/test_model.py
|
|
@@ -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
|
|
diff --git a/tests/test_protobuf_model.py b/tests/test_protobuf_model.py
|
|
index 465d120..bcd71ab 100644
|
|
--- a/tests/test_protobuf_model.py
|
|
+++ b/tests/test_protobuf_model.py
|
|
@@ -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
|
|
|
|
diff --git a/tests/test_schema.py b/tests/test_schema.py
|
|
index c1216a5..127a517 100644
|
|
--- a/tests/test_schema.py
|
|
+++ b/tests/test_schema.py
|
|
@@ -19,7 +19,7 @@ __author__ = 'jcgregorio@google.com (Joe Gregorio)'
|
|
|
|
import json
|
|
import os
|
|
-import unittest2 as unittest
|
|
+import unittest
|
|
|
|
from googleapiclient.schema import Schemas
|
|
|
|
<Paste>
|