add () to fixture
This commit is contained in:
parent
2a08342213
commit
af8c4b9456
@ -24,7 +24,7 @@ def LinkApp():
|
|||||||
app.add_page(index, "/")
|
app.add_page(index, "/")
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture()
|
||||||
def link_app(tmp_path_factory) -> Generator[AppHarness, None, None]:
|
def link_app(tmp_path_factory) -> Generator[AppHarness, None, None]:
|
||||||
with AppHarness.create(
|
with AppHarness.create(
|
||||||
root=tmp_path_factory.mktemp("link_app"),
|
root=tmp_path_factory.mktemp("link_app"),
|
||||||
@ -34,7 +34,7 @@ def link_app(tmp_path_factory) -> Generator[AppHarness, None, None]:
|
|||||||
yield harness
|
yield harness
|
||||||
|
|
||||||
|
|
||||||
def test_link(link_app: AppHarness, page: Page):
|
def test_link_hover(link_app: AppHarness, page: Page):
|
||||||
assert link_app.frontend_url is not None
|
assert link_app.frontend_url is not None
|
||||||
page.goto(link_app.frontend_url)
|
page.goto(link_app.frontend_url)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user