Skip to content

Commit 2f98811

Browse files
committed
Run through and fix up tests for changes
1 parent b6a57e1 commit 2f98811

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_browser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@pytest.mark.asyncio
99
async def test_create_and_close_tab(browser):
1010
tab = await browser.create_tab("")
11-
assert isinstance(tab, choreo.tab.Tab)
11+
assert isinstance(tab, choreo.Tab)
1212
assert tab.target_id in browser.tabs
1313
await browser.close_tab(tab)
1414
assert tab.target_id not in browser.tabs
@@ -18,7 +18,7 @@ async def test_create_and_close_tab(browser):
1818
async def test_create_and_close_session(browser):
1919
with pytest.warns(choreo.protocol.ExperimentalFeatureWarning):
2020
session = await browser.create_session()
21-
assert isinstance(session, choreo.session.Session)
21+
assert isinstance(session, choreo.protocol.Session)
2222
assert session.session_id in browser.sessions
2323
await browser.close_session(session)
2424
assert session.session_id not in browser.sessions

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)