@@ -122,6 +122,7 @@ async def test_abort_actor_run(apify_client_async_patcher: ApifyClientAsyncPatch
122
122
# NOTE: The following methods are properly tested using integrations tests.
123
123
124
124
125
+ @pytest .mark .skip (reason = 'There are issues with log propagation to caplog, see issue #462.' )
125
126
async def test_metamorph_fails_locally (caplog : pytest .LogCaptureFixture ) -> None :
126
127
caplog .set_level ('WARNING' )
127
128
async with Actor :
@@ -132,6 +133,7 @@ async def test_metamorph_fails_locally(caplog: pytest.LogCaptureFixture) -> None
132
133
assert 'Actor.metamorph() is only supported when running on the Apify platform.' in caplog .records [0 ].message
133
134
134
135
136
+ @pytest .mark .skip (reason = 'There are issues with log propagation to caplog, see issue #462.' )
135
137
async def test_reboot_fails_locally (caplog : pytest .LogCaptureFixture ) -> None :
136
138
caplog .set_level ('WARNING' )
137
139
async with Actor :
@@ -142,6 +144,7 @@ async def test_reboot_fails_locally(caplog: pytest.LogCaptureFixture) -> None:
142
144
assert 'Actor.reboot() is only supported when running on the Apify platform.' in caplog .records [0 ].message
143
145
144
146
147
+ @pytest .mark .skip (reason = 'There are issues with log propagation to caplog, see issue #462.' )
145
148
async def test_add_webhook_fails_locally (caplog : pytest .LogCaptureFixture ) -> None :
146
149
caplog .set_level ('WARNING' )
147
150
async with Actor :
@@ -154,6 +157,7 @@ async def test_add_webhook_fails_locally(caplog: pytest.LogCaptureFixture) -> No
154
157
assert 'Actor.add_webhook() is only supported when running on the Apify platform.' in caplog .records [0 ].message
155
158
156
159
160
+ @pytest .mark .skip (reason = 'There are issues with log propagation to caplog, see issue #462.' )
157
161
async def test_set_status_message_locally (caplog : pytest .LogCaptureFixture ) -> None :
158
162
caplog .set_level ('INFO' )
159
163
async with Actor :
@@ -165,6 +169,7 @@ async def test_set_status_message_locally(caplog: pytest.LogCaptureFixture) -> N
165
169
assert '[Status message]: test-status-message' in matching_records [0 ].message
166
170
167
171
172
+ @pytest .mark .skip (reason = 'There are issues with log propagation to caplog, see issue #462.' )
168
173
async def test_set_terminal_status_message_locally (caplog : pytest .LogCaptureFixture ) -> None :
169
174
caplog .set_level ('INFO' )
170
175
async with Actor :
0 commit comments