Skip to content

Commit 5314a80

Browse files
Fix test of ui.separator
1 parent b2fe576 commit 5314a80

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_separator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
def test_separator(screen: Screen):
66
@ui.page('/column')
7-
def index():
7+
def page_column():
88
with ui.column():
99
ui.button('1')
1010
ui.separator()
1111
ui.button('2')
1212
@ui.page('/row')
13-
def index():
13+
def page_row():
1414
with ui.row():
1515
ui.button('1')
1616
ui.separator().props('vertical')
@@ -23,3 +23,4 @@ def index():
2323
screen.wait(0.5)
2424
screen.open('/row')
2525
assert screen.find_by_tag('hr').value_of_css_property('width') == '1px'
26+

0 commit comments

Comments
 (0)