From 23feac0bf5d1c4c5fae5c0771b18e333ba07608e Mon Sep 17 00:00:00 2001
From: Major Hayden <major@mhtx.net>
Date: Thu, 4 Nov 2021 08:26:57 -0500
Subject: [PATCH] Use unittest.mock
---
tests/unit/gapic/automl_v1/test_auto_ml.py | 2 +-
tests/unit/gapic/automl_v1/test_prediction_service.py | 2 +-
tests/unit/gapic/automl_v1beta1/test_auto_ml.py | 2 +-
tests/unit/gapic/automl_v1beta1/test_prediction_service.py | 2 +-
tests/unit/test_gcs_client_v1beta1.py | 2 +-
tests/unit/test_tables_client_v1beta1.py | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/unit/gapic/automl_v1/test_auto_ml.py b/tests/unit/gapic/automl_v1/test_auto_ml.py
index 9443197..aea050e 100644
--- a/tests/unit/gapic/automl_v1/test_auto_ml.py
+++ b/tests/unit/gapic/automl_v1/test_auto_ml.py
@@ -14,7 +14,7 @@
# limitations under the License.
#
import os
-import mock
+from unittest import mock
import grpc
from grpc.experimental import aio
diff --git a/tests/unit/gapic/automl_v1/test_prediction_service.py b/tests/unit/gapic/automl_v1/test_prediction_service.py
index bbcfb3e..feabd7c 100644
--- a/tests/unit/gapic/automl_v1/test_prediction_service.py
+++ b/tests/unit/gapic/automl_v1/test_prediction_service.py
@@ -14,7 +14,7 @@
# limitations under the License.
#
import os
-import mock
+from unittest import mock
import grpc
from grpc.experimental import aio
diff --git a/tests/unit/gapic/automl_v1beta1/test_auto_ml.py b/tests/unit/gapic/automl_v1beta1/test_auto_ml.py
index 5be6ec5..373fdc4 100644
--- a/tests/unit/gapic/automl_v1beta1/test_auto_ml.py
+++ b/tests/unit/gapic/automl_v1beta1/test_auto_ml.py
@@ -14,7 +14,7 @@
# limitations under the License.
#
import os
-import mock
+from unittest import mock
import grpc
from grpc.experimental import aio
diff --git a/tests/unit/gapic/automl_v1beta1/test_prediction_service.py b/tests/unit/gapic/automl_v1beta1/test_prediction_service.py
index 8dfca22..754191e 100644
--- a/tests/unit/gapic/automl_v1beta1/test_prediction_service.py
+++ b/tests/unit/gapic/automl_v1beta1/test_prediction_service.py
@@ -14,7 +14,7 @@
# limitations under the License.
#
import os
-import mock
+from unittest import mock
import grpc
from grpc.experimental import aio
diff --git a/tests/unit/test_gcs_client_v1beta1.py b/tests/unit/test_gcs_client_v1beta1.py
index 306bb61..0bce6d0 100644
--- a/tests/unit/test_gcs_client_v1beta1.py
+++ b/tests/unit/test_gcs_client_v1beta1.py
@@ -16,7 +16,7 @@
"""Unit tests."""
-import mock
+from unittest import mock
import pandas
import pytest
import re
diff --git a/tests/unit/test_tables_client_v1beta1.py b/tests/unit/test_tables_client_v1beta1.py
index e420c16..648e8ca 100644
--- a/tests/unit/test_tables_client_v1beta1.py
+++ b/tests/unit/test_tables_client_v1beta1.py
@@ -16,7 +16,7 @@
"""Unit tests."""
-import mock
+from unittest import mock
import pandas
import pytest
--
2.33.1