File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -7692,7 +7692,11 @@ async def run(
7692
7692
return result
7693
7693
7694
7694
7695
- async def test_activity_pause_cancellation_details (client : Client ):
7695
+ async def test_activity_pause_cancellation_details (
7696
+ client : Client , env : WorkflowEnvironment
7697
+ ):
7698
+ if env .supports_time_skipping :
7699
+ pytest .skip ("Time-skipping server does not support pause API yet" )
7696
7700
with concurrent .futures .ThreadPoolExecutor () as executor :
7697
7701
async with Worker (
7698
7702
client ,
@@ -7769,7 +7773,9 @@ async def run(
7769
7773
return results
7770
7774
7771
7775
7772
- async def test_activity_pause_unpause (client : Client ):
7776
+ async def test_activity_pause_unpause (client : Client , env : WorkflowEnvironment ):
7777
+ if env .supports_time_skipping :
7778
+ pytest .skip ("Time-skipping server does not support pause API yet" )
7773
7779
with concurrent .futures .ThreadPoolExecutor () as executor :
7774
7780
async with Worker (
7775
7781
client ,
You can’t perform that action at this time.
0 commit comments