Skip to content

Commit 96cd1b9

Browse files
committed
skip problematic tests
1 parent e928283 commit 96cd1b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unit/actor/test_actor_helpers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ async def test_abort_actor_run(apify_client_async_patcher: ApifyClientAsyncPatch
122122
# NOTE: The following methods are properly tested using integrations tests.
123123

124124

125+
@pytest.mark.skip(reason='There are issues with log propagation to caplog, see issue #462.')
125126
async def test_metamorph_fails_locally(caplog: pytest.LogCaptureFixture) -> None:
126127
caplog.set_level('WARNING')
127128
async with Actor:
@@ -132,6 +133,7 @@ async def test_metamorph_fails_locally(caplog: pytest.LogCaptureFixture) -> None
132133
assert 'Actor.metamorph() is only supported when running on the Apify platform.' in caplog.records[0].message
133134

134135

136+
@pytest.mark.skip(reason='There are issues with log propagation to caplog, see issue #462.')
135137
async def test_reboot_fails_locally(caplog: pytest.LogCaptureFixture) -> None:
136138
caplog.set_level('WARNING')
137139
async with Actor:
@@ -142,6 +144,7 @@ async def test_reboot_fails_locally(caplog: pytest.LogCaptureFixture) -> None:
142144
assert 'Actor.reboot() is only supported when running on the Apify platform.' in caplog.records[0].message
143145

144146

147+
@pytest.mark.skip(reason='There are issues with log propagation to caplog, see issue #462.')
145148
async def test_add_webhook_fails_locally(caplog: pytest.LogCaptureFixture) -> None:
146149
caplog.set_level('WARNING')
147150
async with Actor:
@@ -154,6 +157,7 @@ async def test_add_webhook_fails_locally(caplog: pytest.LogCaptureFixture) -> No
154157
assert 'Actor.add_webhook() is only supported when running on the Apify platform.' in caplog.records[0].message
155158

156159

160+
@pytest.mark.skip(reason='There are issues with log propagation to caplog, see issue #462.')
157161
async def test_set_status_message_locally(caplog: pytest.LogCaptureFixture) -> None:
158162
caplog.set_level('INFO')
159163
async with Actor:
@@ -165,6 +169,7 @@ async def test_set_status_message_locally(caplog: pytest.LogCaptureFixture) -> N
165169
assert '[Status message]: test-status-message' in matching_records[0].message
166170

167171

172+
@pytest.mark.skip(reason='There are issues with log propagation to caplog, see issue #462.')
168173
async def test_set_terminal_status_message_locally(caplog: pytest.LogCaptureFixture) -> None:
169174
caplog.set_level('INFO')
170175
async with Actor:

0 commit comments

Comments
 (0)