Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 16, 2023
1 parent fba429a commit 90a37e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions panel/tests/ui/io/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ def app(counts=[0]):

page.goto(f"http://localhost:{port}")

assert page.text_content(".bk.markdown") == 'Count 0'
assert page.text_content(".markdown h1") == 'Count 0'

page.goto(f"http://localhost:{port}")

assert page.text_content(".bk.markdown") == 'Count 1'
assert page.text_content(".markdown h1") == 'Count 1'


def test_server_reuse_sessions_with_session_key_func(page, port, reuse_sessions):
Expand All @@ -45,9 +45,9 @@ def app(counts=[0]):
page.goto(f"http://localhost:{port}/?arg=foo")

assert page.text_content("title") == 'foo'
assert page.text_content(".bk.markdown") == 'Count 0'
assert page.text_content(".markdown h1") == 'Count 0'

page.goto(f"http://localhost:{port}/?arg=bar")

assert page.text_content("title") == 'bar'
assert page.text_content(".bk.markdown") == 'Count 1'
assert page.text_content(".markdown h1") == 'Count 1'

0 comments on commit 90a37e0

Please sign in to comment.