Skip to content

Commit f0886be

Browse files
committed
Reorder and clean up imports in test_app.py
Moved 'from typing import Union' to the top and removed a redundant import statement. Also removed an unnecessary docstring in the test function.
1 parent 1c47a55 commit f0886be

File tree

1 file changed

+3
-2
lines changed
  • tests/playwright/shiny/components/nav/navset_menu

1 file changed

+3
-2
lines changed

tests/playwright/shiny/components/nav/navset_menu/test_app.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
from typing import Union
2+
13
import pytest
24
from playwright.sync_api import Page
3-
from typing import Union
45

56
from shiny.playwright import controller
67
from shiny.pytest import create_app_fixture
@@ -24,7 +25,7 @@ def test_navset_menu(
2425
nav_id: str,
2526
out_id: str,
2627
):
27-
"""Test navigation between panels for different navset types."""
28+
2829
page.goto(app.url)
2930
navset = nav_factory(page, nav_id)
3031
output: controller.OutputText = controller.OutputText(page, out_id)

0 commit comments

Comments
 (0)