ops: fix for GitHub's CI
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import pytest_httpbin
|
import pytest_httpbin
|
||||||
|
|
||||||
@@ -94,6 +96,10 @@ class TestDynamicFetcher:
|
|||||||
with pytest.raises(Exception):
|
with pytest.raises(Exception):
|
||||||
fetcher.fetch(self.html_url, cdp_url="ws://blahblah")
|
fetcher.fetch(self.html_url, cdp_url="ws://blahblah")
|
||||||
|
|
||||||
|
@pytest.mark.skipif(
|
||||||
|
"GITHUB_ACTIONS" in os.environ,
|
||||||
|
reason="Fails in GitHub Actions."
|
||||||
|
)
|
||||||
def test_infinite_timeout(
|
def test_infinite_timeout(
|
||||||
self,
|
self,
|
||||||
fetcher,
|
fetcher,
|
||||||
|
|||||||
Reference in New Issue
Block a user