Skip to content

Commit 7c59aab

Browse files
committed
fix missing imports
1 parent 1fc21fc commit 7c59aab

File tree

9 files changed

+8
-10
lines changed

9 files changed

+8
-10
lines changed

tests/playwright/shiny/tests_for_ai_generated_apps/input_action_link/test_input_action_link_core_express.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from playwright.sync_api import Page, expect
1+
from playwright.sync_api import Page
22

33
from shiny.playwright import controller
44
from shiny.pytest import create_app_fixture

tests/playwright/shiny/tests_for_ai_generated_apps/input_file/app-core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pandas as pd
22

3-
from shiny import App, render, ui
3+
from shiny import App, render, ui, reactive
44
from shiny.types import FileInfo
55

66
# Define the UI

tests/playwright/shiny/tests_for_ai_generated_apps/input_file/app-express.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pandas as pd
2-
2+
from shiny import reactive
33
from shiny.express import input, render, ui
44
from shiny.types import FileInfo
55

tests/playwright/shiny/tests_for_ai_generated_apps/input_slider/app-core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from datetime import datetime
1+
from datetime import date, datetime
22

33
from shiny import App, reactive, render, ui
44

tests/playwright/shiny/tests_for_ai_generated_apps/input_slider/app-express.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from datetime import datetime
1+
from datetime import date, datetime
22

33
from shiny import reactive
44
from shiny.express import input, render, ui

tests/playwright/shiny/tests_for_ai_generated_apps/input_slider/test_input_slider_core_express.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from datetime import date, datetime
2-
31
from playwright.sync_api import Page
42

53
from shiny.playwright import controller
@@ -45,7 +43,7 @@ def test_slider_parameters(page: Page, app: ShinyAppProc) -> None:
4543
value4 = controller.OutputText(page, "value4")
4644
value4.expect_value("Value: 2023-06-15")
4745
slider4.expect_label("Select a date")
48-
slider4.expect_min("1672560000000.0") # 2023-01-01
46+
slider4.expect_min("1672531200000.0") # 2023-01-01
4947
slider4.expect_max("1704009600000.0") # 2023-12-31
5048
slider4.expect_value("2023-06-15")
5149

tests/playwright/shiny/tests_for_ai_generated_apps/input_task_button/app-core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from shiny import App, render, ui
1+
from shiny import App, reactive, render, ui
22

33
# Define the UI
44
app_ui = ui.page_fillable(

tests/playwright/shiny/tests_for_ai_generated_apps/input_task_button/app-express.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from shiny import reactive
12
from shiny.express import input, render, ui
23

34
# Page options for basic styling

tests/playwright/shiny/tests_for_ai_generated_apps/value_box/app-express.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from shiny import reactive
21
from shiny.express import ui
32

43
ui.page_opts(fillable=True)

0 commit comments

Comments
 (0)