14
0
Files
python-google-auth-oauthlib/python-google-auth-oauthlib-no-mock.patch
Markéta Machová 8b3c3b9d4b Accepting request 1281280 from home:glaubitz:branches:devel:languages:python
- Update to 1.2.2
  * Do not include docs/conf.py & scripts in wheel (#328)
  * Let OS select an available port when running TestInstalledAppFlow (#407)
  * Remove setup.cfg configuration for creating universal wheels (#405)
- Refresh python-google-auth-oauthlib-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1281280
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth-oauthlib?expand=0&rev=38
2025-05-30 08:24:43 +00:00

49 lines
1.8 KiB
Diff

diff -Nru google_auth_oauthlib-1.2.2.orig/tests/unit/test_flow.py google_auth_oauthlib-1.2.2/tests/unit/test_flow.py
--- google_auth_oauthlib-1.2.2.orig/tests/unit/test_flow.py 2025-04-22 18:36:18.000000000 +0200
+++ google_auth_oauthlib-1.2.2/tests/unit/test_flow.py 2025-05-19 15:48:51.119128294 +0200
@@ -20,7 +20,7 @@
import re
import socket
-import mock
+from unittest import mock
import pytest
import requests
import urllib
diff -Nru google_auth_oauthlib-1.2.2.orig/tests/unit/test_helpers.py google_auth_oauthlib-1.2.2/tests/unit/test_helpers.py
--- google_auth_oauthlib-1.2.2.orig/tests/unit/test_helpers.py 2025-04-22 18:36:18.000000000 +0200
+++ google_auth_oauthlib-1.2.2/tests/unit/test_helpers.py 2025-05-19 15:48:51.117975705 +0200
@@ -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-1.2.2.orig/tests/unit/test_interactive.py google_auth_oauthlib-1.2.2/tests/unit/test_interactive.py
--- google_auth_oauthlib-1.2.2.orig/tests/unit/test_interactive.py 2025-04-22 18:36:18.000000000 +0200
+++ google_auth_oauthlib-1.2.2/tests/unit/test_interactive.py 2025-05-19 15:48:51.116736793 +0200
@@ -14,7 +14,7 @@
import socket
-import mock
+from unittest import mock
import pytest
diff -Nru google_auth_oauthlib-1.2.2.orig/tests/unit/test_tool.py google_auth_oauthlib-1.2.2/tests/unit/test_tool.py
--- google_auth_oauthlib-1.2.2.orig/tests/unit/test_tool.py 2025-04-22 18:36:18.000000000 +0200
+++ google_auth_oauthlib-1.2.2/tests/unit/test_tool.py 2025-05-19 15:48:51.114736755 +0200
@@ -19,7 +19,7 @@
import click.testing
import google.oauth2.credentials
-import mock
+from unittest import mock
import pytest
import google_auth_oauthlib.flow