File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ def tests(session):
2222 session .install ("." )
2323 # modules for testing
2424 session .install (
25- "mock>=4.0.3" ,
2625 "pyfakefs>=3.5,<3.7" ,
2726 "coverage==6.5.0" ,
2827 )
@@ -48,7 +47,6 @@ def tests_minimum_dependency_versions(session):
4847 session .install ("." )
4948 # modules for testing
5049 session .install (
51- "mock>=4.0.3" ,
5250 "pyfakefs>=3.5,<3.7" ,
5351 "coverage==6.5.0" ,
5452 # Google-published dependencies pinned to the
Original file line number Diff line number Diff line change 1515
1616from importlib import import_module
1717from inspect import getmembers
18- import mock
18+ from unittest import mock
1919import os
2020import pickle
2121from pyfakefs .fake_filesystem_unittest import TestCase as FileTestCase
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414"""Tests the configuration helper module."""
1515
16- import mock
16+ from unittest import mock
1717import os
1818import yaml
1919from pyfakefs .fake_filesystem_unittest import TestCase as FileTestCase
Original file line number Diff line number Diff line change 1414"""Tests for the Exception gRPC Interceptor."""
1515
1616import grpc
17- import mock
17+ from unittest import mock
1818from unittest import TestCase
1919
2020from google .protobuf .message import Message as ProtobufMessageType
Original file line number Diff line number Diff line change 1515
1616
1717from importlib import import_module
18- import mock
18+ from unittest import mock
1919from unittest import TestCase
2020
2121import grpc
Original file line number Diff line number Diff line change 1717from importlib import import_module
1818import json
1919import logging
20+ from unittest import mock
2021from unittest import TestCase
2122from types import SimpleNamespace
2223
23- import mock
24-
2524from google .ads .googleads import client as Client
2625from google .ads .googleads .interceptors import LoggingInterceptor
2726from google .ads .googleads .interceptors .helpers import (
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414"""Tests for the Metadata gRPC Interceptor."""
1515
16+ from unittest import mock
1617from unittest import TestCase
1718import sys
1819
19- import mock
20-
2120from google .ads .googleads .interceptors import MetadataInterceptor
2221
2322# Dynamically generate the current Python version as a string in the format
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414"""Tests for the OAuth2 helper module."""
1515
16- import mock
16+ from unittest import mock
1717from unittest import TestCase
1818
1919from google .ads .googleads import oauth2
You can’t perform that action at this time.
0 commit comments