File tree 2 files changed +0
-5
lines changed
2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 3
3
from contextlib import AsyncExitStack
4
4
from types import TracebackType
5
5
from typing import Any
6
- from urllib .parse import urljoin
7
6
8
7
from playwright .async_api import (
9
8
Browser ,
Original file line number Diff line number Diff line change 1
- import asyncio
2
1
import threading
3
2
import time
4
3
from contextlib import ExitStack
11
10
from idom .backend .utils import run as sync_run
12
11
from idom .backend .utils import traversal_safe_path
13
12
from idom .sample import SampleApp as SampleApp
14
- from tests .tooling .loop import open_event_loop
15
13
16
14
17
15
@pytest .fixture
@@ -28,8 +26,6 @@ def test_find_available_port():
28
26
29
27
30
28
async def test_run (page : Page , exit_stack : ExitStack ):
31
- loop = exit_stack .enter_context (open_event_loop (as_current = False ))
32
-
33
29
host = "127.0.0.1"
34
30
port = find_available_port (host )
35
31
url = f"http://{ host } :{ port } "
You can’t perform that action at this time.
0 commit comments