Blame python-google-cloud-appengine-admin-mock.patch

e0b4d2b
From d14f41e208f7a2f1a9819637903c71ba7590be00 Mon Sep 17 00:00:00 2001
e0b4d2b
From: Major Hayden <major@redhat.com>
e0b4d2b
Date: Tue, 2 Nov 2021 13:45:19 -0500
a22d4b6
Subject: [PATCH] Use unittest.mock
a22d4b6
a22d4b6
---
a22d4b6
 tests/unit/gapic/appengine_admin_v1/test_applications.py        | 2 +-
a22d4b6
 .../gapic/appengine_admin_v1/test_authorized_certificates.py    | 2 +-
a22d4b6
 tests/unit/gapic/appengine_admin_v1/test_authorized_domains.py  | 2 +-
a22d4b6
 tests/unit/gapic/appengine_admin_v1/test_domain_mappings.py     | 2 +-
a22d4b6
 tests/unit/gapic/appengine_admin_v1/test_firewall.py            | 2 +-
a22d4b6
 tests/unit/gapic/appengine_admin_v1/test_instances.py           | 2 +-
a22d4b6
 tests/unit/gapic/appengine_admin_v1/test_services.py            | 2 +-
a22d4b6
 tests/unit/gapic/appengine_admin_v1/test_versions.py            | 2 +-
a22d4b6
 8 files changed, 8 insertions(+), 8 deletions(-)
a22d4b6
a22d4b6
diff --git a/tests/unit/gapic/appengine_admin_v1/test_applications.py b/tests/unit/gapic/appengine_admin_v1/test_applications.py
e0b4d2b
index a99ea93..29bb2e3 100644
a22d4b6
--- a/tests/unit/gapic/appengine_admin_v1/test_applications.py
a22d4b6
+++ b/tests/unit/gapic/appengine_admin_v1/test_applications.py
a22d4b6
@@ -14,7 +14,7 @@
a22d4b6
 # limitations under the License.
a22d4b6
 #
a22d4b6
 import os
a22d4b6
-import mock
a22d4b6
+from unittest import mock
a22d4b6
 
a22d4b6
 import grpc
e0b4d2b
 from grpc.experimental import aio
a22d4b6
diff --git a/tests/unit/gapic/appengine_admin_v1/test_authorized_certificates.py b/tests/unit/gapic/appengine_admin_v1/test_authorized_certificates.py
e0b4d2b
index 300dbfa..c2782d0 100644
a22d4b6
--- a/tests/unit/gapic/appengine_admin_v1/test_authorized_certificates.py
a22d4b6
+++ b/tests/unit/gapic/appengine_admin_v1/test_authorized_certificates.py
a22d4b6
@@ -14,7 +14,7 @@
a22d4b6
 # limitations under the License.
a22d4b6
 #
a22d4b6
 import os
a22d4b6
-import mock
a22d4b6
+from unittest import mock
a22d4b6
 
a22d4b6
 import grpc
e0b4d2b
 from grpc.experimental import aio
a22d4b6
diff --git a/tests/unit/gapic/appengine_admin_v1/test_authorized_domains.py b/tests/unit/gapic/appengine_admin_v1/test_authorized_domains.py
e0b4d2b
index ea20035..cf65848 100644
a22d4b6
--- a/tests/unit/gapic/appengine_admin_v1/test_authorized_domains.py
a22d4b6
+++ b/tests/unit/gapic/appengine_admin_v1/test_authorized_domains.py
a22d4b6
@@ -14,7 +14,7 @@
a22d4b6
 # limitations under the License.
a22d4b6
 #
a22d4b6
 import os
a22d4b6
-import mock
a22d4b6
+from unittest import mock
a22d4b6
 
a22d4b6
 import grpc
e0b4d2b
 from grpc.experimental import aio
a22d4b6
diff --git a/tests/unit/gapic/appengine_admin_v1/test_domain_mappings.py b/tests/unit/gapic/appengine_admin_v1/test_domain_mappings.py
e0b4d2b
index 1ed3557..9e2decc 100644
a22d4b6
--- a/tests/unit/gapic/appengine_admin_v1/test_domain_mappings.py
a22d4b6
+++ b/tests/unit/gapic/appengine_admin_v1/test_domain_mappings.py
a22d4b6
@@ -14,7 +14,7 @@
a22d4b6
 # limitations under the License.
a22d4b6
 #
a22d4b6
 import os
a22d4b6
-import mock
a22d4b6
+from unittest import mock
a22d4b6
 
a22d4b6
 import grpc
e0b4d2b
 from grpc.experimental import aio
a22d4b6
diff --git a/tests/unit/gapic/appengine_admin_v1/test_firewall.py b/tests/unit/gapic/appengine_admin_v1/test_firewall.py
e0b4d2b
index a05bec5..343795f 100644
a22d4b6
--- a/tests/unit/gapic/appengine_admin_v1/test_firewall.py
a22d4b6
+++ b/tests/unit/gapic/appengine_admin_v1/test_firewall.py
a22d4b6
@@ -14,7 +14,7 @@
a22d4b6
 # limitations under the License.
a22d4b6
 #
a22d4b6
 import os
a22d4b6
-import mock
a22d4b6
+from unittest import mock
a22d4b6
 
a22d4b6
 import grpc
e0b4d2b
 from grpc.experimental import aio
a22d4b6
diff --git a/tests/unit/gapic/appengine_admin_v1/test_instances.py b/tests/unit/gapic/appengine_admin_v1/test_instances.py
e0b4d2b
index 75d66d2..773664d 100644
a22d4b6
--- a/tests/unit/gapic/appengine_admin_v1/test_instances.py
a22d4b6
+++ b/tests/unit/gapic/appengine_admin_v1/test_instances.py
a22d4b6
@@ -14,7 +14,7 @@
a22d4b6
 # limitations under the License.
a22d4b6
 #
a22d4b6
 import os
a22d4b6
-import mock
a22d4b6
+from unittest import mock
a22d4b6
 
a22d4b6
 import grpc
e0b4d2b
 from grpc.experimental import aio
a22d4b6
diff --git a/tests/unit/gapic/appengine_admin_v1/test_services.py b/tests/unit/gapic/appengine_admin_v1/test_services.py
e0b4d2b
index 811d07f..b5ca6d5 100644
a22d4b6
--- a/tests/unit/gapic/appengine_admin_v1/test_services.py
a22d4b6
+++ b/tests/unit/gapic/appengine_admin_v1/test_services.py
a22d4b6
@@ -14,7 +14,7 @@
a22d4b6
 # limitations under the License.
a22d4b6
 #
a22d4b6
 import os
a22d4b6
-import mock
a22d4b6
+from unittest import mock
a22d4b6
 
a22d4b6
 import grpc
e0b4d2b
 from grpc.experimental import aio
a22d4b6
diff --git a/tests/unit/gapic/appengine_admin_v1/test_versions.py b/tests/unit/gapic/appengine_admin_v1/test_versions.py
e0b4d2b
index ef9622d..afa4e26 100644
a22d4b6
--- a/tests/unit/gapic/appengine_admin_v1/test_versions.py
a22d4b6
+++ b/tests/unit/gapic/appengine_admin_v1/test_versions.py
a22d4b6
@@ -14,7 +14,7 @@
a22d4b6
 # limitations under the License.
a22d4b6
 #
a22d4b6
 import os
a22d4b6
-import mock
a22d4b6
+from unittest import mock
a22d4b6
 
a22d4b6
 import grpc
e0b4d2b
 from grpc.experimental import aio
a22d4b6
-- 
e0b4d2b
2.33.1
a22d4b6