Dirk Mueller
852b673dcf
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=49
64 lines
2.0 KiB
Diff
64 lines
2.0 KiB
Diff
Index: sentry-python-1.24.0/tests/tracing/test_decorator_py3.py
|
|
===================================================================
|
|
--- sentry-python-1.24.0.orig/tests/tracing/test_decorator_py3.py
|
|
+++ sentry-python-1.24.0/tests/tracing/test_decorator_py3.py
|
|
@@ -1,4 +1,4 @@
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
import sys
|
|
|
|
Index: sentry-python-1.24.0/tests/tracing/test_misc.py
|
|
===================================================================
|
|
--- sentry-python-1.24.0.orig/tests/tracing/test_misc.py
|
|
+++ sentry-python-1.24.0/tests/tracing/test_misc.py
|
|
@@ -1,4 +1,4 @@
|
|
-from mock import MagicMock
|
|
+from unittest.mock import MagicMock
|
|
import pytest
|
|
import gc
|
|
import uuid
|
|
Index: sentry-python-1.24.0/tests/test_api.py
|
|
===================================================================
|
|
--- sentry-python-1.24.0.orig/tests/test_api.py
|
|
+++ sentry-python-1.24.0/tests/test_api.py
|
|
@@ -1,4 +1,4 @@
|
|
-import mock
|
|
+from unittest import mock
|
|
|
|
from sentry_sdk import (
|
|
configure_scope,
|
|
Index: sentry-python-1.24.0/tests/test_client.py
|
|
===================================================================
|
|
--- sentry-python-1.24.0.orig/tests/test_client.py
|
|
+++ sentry-python-1.24.0/tests/test_client.py
|
|
@@ -1,7 +1,7 @@
|
|
# coding: utf-8
|
|
import os
|
|
import json
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
import subprocess
|
|
import sys
|
|
Index: sentry-python-1.24.0/tests/test_crons.py
|
|
===================================================================
|
|
--- sentry-python-1.24.0.orig/tests/test_crons.py
|
|
+++ sentry-python-1.24.0/tests/test_crons.py
|
|
@@ -1,4 +1,4 @@
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
import uuid
|
|
|
|
Index: sentry-python-1.24.0/tests/tracing/test_decorator_py2.py
|
|
===================================================================
|
|
--- sentry-python-1.24.0.orig/tests/tracing/test_decorator_py2.py
|
|
+++ sentry-python-1.24.0/tests/tracing/test_decorator_py2.py
|
|
@@ -1,4 +1,4 @@
|
|
-import mock
|
|
+from unittest import mock
|
|
|
|
from sentry_sdk.tracing_utils_py2 import (
|
|
start_child_span_decorator as start_child_span_decorator_py2,
|