We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f16da9 commit 4cfb505Copy full SHA for 4cfb505
1 file changed
tests/conftest.py
@@ -10,6 +10,11 @@
10
@pytest.fixture(autouse=True)
11
def initialize_cdp():
12
"""Initialize the CDP SDK with mock API clients before each test."""
13
+ # Skip this fixture for e2e tests
14
+ if request.node.get_closest_marker("e2e"):
15
+ yield
16
+ return
17
+
18
original_api_clients = Cdp.api_clients
19
mock_api_clients = MagicMock(spec=ApiClients)
20
Cdp.api_clients = mock_api_clients
0 commit comments