test_runner.test_runner()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
from yfrake.server.runner import server_runner
2
import asyncio
3
import sys
4
5
6
if sys.platform == 'win32':
7
    asyncio.set_event_loop_policy(
8
        asyncio.WindowsSelectorEventLoopPolicy()
9
    )
10
11
12
async def test_runner():
13
    await server_runner()
14