Skip to content

Commit 4cfb505

Browse files
trying to fix e2e
1 parent 8f16da9 commit 4cfb505

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
@pytest.fixture(autouse=True)
1111
def initialize_cdp():
1212
"""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+
1318
original_api_clients = Cdp.api_clients
1419
mock_api_clients = MagicMock(spec=ApiClients)
1520
Cdp.api_clients = mock_api_clients

0 commit comments

Comments
 (0)