We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d4a0c2 commit 885920aCopy full SHA for 885920a
1 file changed
tests/hello_nexus/hello_nexus_test.py
@@ -1,14 +1,18 @@
1
import asyncio
2
3
+import pytest
4
from temporalio.client import Client
5
+from temporalio.testing import WorkflowEnvironment
6
7
import hello_nexus.caller.app
8
import hello_nexus.caller.workflows
9
import hello_nexus.handler.worker
10
from tests.hello_nexus.helpers import create_nexus_endpoint, delete_nexus_endpoint
11
12
-async def test_nexus_service_basic(client: Client):
13
+async def test_nexus_service_basic(client: Client, env: WorkflowEnvironment):
14
+ if env.supports_time_skipping:
15
+ pytest.skip("Nexus tests don't work under the Java test server")
16
create_response = await create_nexus_endpoint(
17
name=hello_nexus.caller.workflows.NEXUS_ENDPOINT,
18
task_queue=hello_nexus.handler.worker.TASK_QUEUE,
0 commit comments