diff --git a/test/functional/test_framework/chronik/client.py b/test/functional/test_framework/chronik/client.py --- a/test/functional/test_framework/chronik/client.py +++ b/test/functional/test_framework/chronik/client.py @@ -6,7 +6,11 @@ import http.client from typing import Union -import websocket +# Tests may be skipped if websocket is not installed +try: + import websocket +except ImportError: + pass # Timespan when HTTP requests to Chronik time out DEFAULT_TIMEOUT = 30