Test Failed
Push — master ( 94b1f7...ff0954 )
by Oleksandr
12:55 queued 02:06
created

handlers.main_handler.MainHandler.get()   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1.2963

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
ccs 1
cts 3
cp 0.3333
rs 10
c 0
b 0
f 0
cc 1
nop 1
crap 1.2963
1 1
from tabpy.tabpy_server.handlers import BaseHandler
2
3
4 1
class MainHandler(BaseHandler):
5 1
    def get(self):
6
        self._add_CORS_header()
7
        self.render("/static/index.html")
8