Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 20, 2024
1 parent f328e1e commit 868df89
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ env:

jobs:
test-e2e-component-library-vizro-core:

runs-on: ubuntu-latest

steps:
Expand Down
1 change: 0 additions & 1 deletion vizro-core/tests/e2e/test_component_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@


def test_kpi_card_component_library(dash_duo, request):

app = Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
app.layout = dbc.Container(
[
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/tests/tests_utils/e2e_asserts.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def assert_image_equal(result_image_path, expected_image_path, expected_image_na
_compare_images(expected_image, result_image)
Path(result_image_path).unlink()
except AssertionError as exc:
shutil.copy(result_image_path, expected_image_name)
shutil.copy(result_image_path, expected_image_name)
diff = _create_image_difference(expected_image=expected_image, result_image=result_image)
cv2.imwrite(f"{result_image_path}_difference_from_main.png", diff)
raise AssertionError("pictures are not the same") from exc
Expand Down

0 comments on commit 868df89

Please sign in to comment.