Skip to content

Commit

Permalink
Fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sultaniman committed Apr 17, 2024
1 parent 11f84a9 commit bef6f3e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import dlt

from streamlit.testing.v1 import AppTest
from streamlit.testing.v1 import AppTest # type: ignore[import-not-found]

from dlt.helpers.streamlit_app.utils import render_with_pipeline
from dlt.pipeline.exceptions import CannotRestorePipelineException
Expand Down Expand Up @@ -102,8 +102,8 @@ def test_multiple_resources_pipeline():
assert streamlit_app.session_state["color_mode"] == "dark"

# Check page links in sidebar
assert "Explore data" in streamlit_app.sidebar[2].label # type: ignore[union-attr]
assert "Load info" in streamlit_app.sidebar[3].label # type: ignore[union-attr]
assert "Explore data" in streamlit_app.sidebar[2].label
assert "Load info" in streamlit_app.sidebar[3].label

# Check that at leas 4 content sections rendered
assert len(streamlit_app.subheader) > 4
Expand Down

0 comments on commit bef6f3e

Please sign in to comment.