forked from pool/python-google-auth-oauthlib
- Update to 0.7.1 * Include updates to properties from Google Auth lib (#249) - from version 0.7.0 * **setup.py:** increase required google-auth version to >= 2.13.0 (f8a15f7) - from version 0.6.0 * Update to allow for 3PI credentials (#240) * Add timeout to run_local_server when waiting for response (#245) * Update readme to point to current docs url (#241) - Refresh patches for new version * python-google-auth-oauthlib-no-mock.patch - Update Requires from setup.py OBS-URL: https://build.opensuse.org/request/show/1034345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth-oauthlib?expand=0&rev=20
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
|