forked from pool/python-gql
needed by python-python-gitlab OBS-URL: https://build.opensuse.org/request/show/1255013 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gql?expand=0&rev=1
23 lines
624 B
Diff
23 lines
624 B
Diff
diff --git a/tests/test_client.py b/tests/test_client.py
|
|
index ada129c..81f66db 100644
|
|
--- a/tests/test_client.py
|
|
+++ b/tests/test_client.py
|
|
@@ -1,7 +1,7 @@
|
|
import os
|
|
from contextlib import suppress
|
|
|
|
-import mock
|
|
+import unittest
|
|
import pytest
|
|
from graphql import build_ast_schema, parse
|
|
|
|
@@ -59,7 +59,7 @@ def test_request_async_execute_batch_not_implemented_yet():
|
|
|
|
|
|
@pytest.mark.requests
|
|
-@mock.patch("urllib3.connection.HTTPConnection._new_conn")
|
|
+@unittest.mock.patch("urllib3.connection.HTTPConnection._new_conn")
|
|
def test_retries_on_transport(execute_mock):
|
|
"""Testing retries on the transport level
|
|
|