From c75d20de6b860d821543157347fbba859bba9dcf Mon Sep 17 00:00:00 2001 From: Ruben Thoms Date: Thu, 19 Dec 2024 16:32:20 +0100 Subject: [PATCH] Removed color_scales test --- tests/test_color_scales.py | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 tests/test_color_scales.py diff --git a/tests/test_color_scales.py b/tests/test_color_scales.py deleted file mode 100644 index b8910eaf..00000000 --- a/tests/test_color_scales.py +++ /dev/null @@ -1,30 +0,0 @@ -################################################################## -# -# Copyright (c) 2021- Equinor ASA -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. -# -################################################################## - -from dash import html, Dash -import webviz_core_components - - -def test_colorscale(dash_duo): - app = Dash(__name__) - - app.layout = html.Div( - [ - webviz_core_components.ColorScales( - id="colorscale", - colorscale=["red", "blue"], - nSwatches=12, - fixSwatches=False, - ), - ] - ) - - dash_duo.start_server(app) - - assert dash_duo.get_logs() is None, "browser console should contain no error"