test_runner   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_runner() 0 2 1
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