From 22a4e50b47756a9cc59613215cc28622fed82e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Fredrik=20Ki=C3=A6r?= <31612826+anders-kiaer@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:11:54 +0000 Subject: [PATCH] wip --- .github/workflows/webviz-core-components.yml | 2 +- tests/test_color_scales.py | 2 +- tests/test_graph.py | 2 +- tests/test_plugin_placeholder.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/webviz-core-components.yml b/.github/workflows/webviz-core-components.yml index 1dc207ee..0fa4b988 100644 --- a/.github/workflows/webviz-core-components.yml +++ b/.github/workflows/webviz-core-components.yml @@ -28,7 +28,7 @@ jobs: - name: 🐍 Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.8 # For compiling the JavaScript part we need dash<2.5, which is not supported on recent versions of Python - name: ℹī¸ Node and npm versions run: | diff --git a/tests/test_color_scales.py b/tests/test_color_scales.py index 57694774..b8910eaf 100644 --- a/tests/test_color_scales.py +++ b/tests/test_color_scales.py @@ -27,4 +27,4 @@ def test_colorscale(dash_duo): dash_duo.start_server(app) - assert dash_duo.get_logs() == [], "browser console should contain no error" + assert dash_duo.get_logs() is None, "browser console should contain no error" diff --git a/tests/test_graph.py b/tests/test_graph.py index 7d59f9d4..ffdc8266 100644 --- a/tests/test_graph.py +++ b/tests/test_graph.py @@ -42,4 +42,4 @@ def test_container_placeholder(dash_duo): dash_duo.start_server(app) - assert dash_duo.get_logs() == [], "browser console should contain no error" + assert dash_duo.get_logs() is None, "browser console should contain no error" diff --git a/tests/test_plugin_placeholder.py b/tests/test_plugin_placeholder.py index f633d741..be2e1d84 100644 --- a/tests/test_plugin_placeholder.py +++ b/tests/test_plugin_placeholder.py @@ -25,4 +25,4 @@ def test_plugin_placeholder(dash_duo): dash_duo.start_server(app) - assert dash_duo.get_logs() == [], "browser console should contain no error" + assert dash_duo.get_logs() is None, "browser console should contain no error"