diff --git a/setup.py b/setup.py index 054bc93e..21763a03 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,6 @@ "pytest-asyncio==0.21.1", "pytest-console-scripts==1.3.1", "pytest-cov==5.0.0", - "mock==4.0.2", "vcrpy==4.4.0", "aiofiles", ] diff --git a/tests/test_cli.py b/tests/test_cli.py index f0534957..cdbe07f9 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -370,6 +370,7 @@ def test_cli_get_transport_no_protocol(parser): get_transport(args) +@pytest.mark.script_launch_mode("subprocess") def test_cli_ep_version(script_runner): ret = script_runner.run("gql-cli", "--version") diff --git a/tests/test_client.py b/tests/test_client.py index ada129c6..f7a3c947 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,7 +1,7 @@ import os from contextlib import suppress +from unittest import mock -import mock import pytest from graphql import build_ast_schema, parse