49 lines
1.8 KiB
Diff
49 lines
1.8 KiB
Diff
diff -Nru google-auth-oauthlib-0.7.1.orig/tests/unit/test_flow.py google-auth-oauthlib-0.7.1/tests/unit/test_flow.py
|
|
--- google-auth-oauthlib-0.7.1.orig/tests/unit/test_flow.py 2022-11-03 18:27:07.000000000 +0100
|
|
+++ google-auth-oauthlib-0.7.1/tests/unit/test_flow.py 2022-11-07 18:14:12.871489341 +0100
|
|
@@ -21,7 +21,7 @@
|
|
import random
|
|
import socket
|
|
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
import requests
|
|
import urllib
|
|
diff -Nru google-auth-oauthlib-0.7.1.orig/tests/unit/test_helpers.py google-auth-oauthlib-0.7.1/tests/unit/test_helpers.py
|
|
--- google-auth-oauthlib-0.7.1.orig/tests/unit/test_helpers.py 2022-11-03 18:27:07.000000000 +0100
|
|
+++ google-auth-oauthlib-0.7.1/tests/unit/test_helpers.py 2022-11-07 18:14:12.867489297 +0100
|
|
@@ -16,7 +16,7 @@
|
|
import json
|
|
import os
|
|
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
|
|
from google.auth import external_account_authorized_user
|
|
diff -Nru google-auth-oauthlib-0.7.1.orig/tests/unit/test_interactive.py google-auth-oauthlib-0.7.1/tests/unit/test_interactive.py
|
|
--- google-auth-oauthlib-0.7.1.orig/tests/unit/test_interactive.py 2022-11-03 18:27:07.000000000 +0100
|
|
+++ google-auth-oauthlib-0.7.1/tests/unit/test_interactive.py 2022-11-07 18:14:12.867489297 +0100
|
|
@@ -14,7 +14,7 @@
|
|
|
|
import socket
|
|
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
|
|
|
|
diff -Nru google-auth-oauthlib-0.7.1.orig/tests/unit/test_tool.py google-auth-oauthlib-0.7.1/tests/unit/test_tool.py
|
|
--- google-auth-oauthlib-0.7.1.orig/tests/unit/test_tool.py 2022-11-03 18:27:07.000000000 +0100
|
|
+++ google-auth-oauthlib-0.7.1/tests/unit/test_tool.py 2022-11-07 18:14:12.863489253 +0100
|
|
@@ -19,7 +19,7 @@
|
|
|
|
import click.testing
|
|
import google.oauth2.credentials
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
|
|
import google_auth_oauthlib.flow
|