File tree Expand file tree Collapse file tree
tests/nexus_standalone_operations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import uuid
22from datetime import timedelta
33
4+ import pytest
45from temporalio .client import Client
6+ from temporalio .testing import WorkflowEnvironment
57from temporalio .worker import Worker
68
79from nexus_standalone_operations .handler import HelloWorkflow , MyNexusServiceHandler
1618from tests .helpers .nexus import create_nexus_endpoint , delete_nexus_endpoint
1719
1820
19- async def test_nexus_standalone_operations (client : Client ):
21+ async def test_nexus_standalone_operations (client : Client , env : WorkflowEnvironment ):
22+ if env .supports_time_skipping :
23+ pytest .skip ("Time Skipping server does not support standalone nexus operations" )
24+
2025 endpoint_name = f"test-nexus-standalone-{ uuid .uuid4 ()} "
2126
2227 create_response = await create_nexus_endpoint (
You can’t perform that action at this time.
0 commit comments