Passed
Push — master ( d09d11...4c06de )
by
unknown
01:59
created

test_start()   A

Complexity

Conditions 2

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 2
c 1
b 0
f 0
dl 0
loc 2
rs 10
1
#!/usr/bin/env python3
2
3
import pytest
4
import sys
5
import os
6
7
# Import annif-module from parent directory
8
sys.path.insert(1, os.path.join(sys.path[0], '..'))
9
from annif import app
10
11
# A dummy test for setup purposes
12
def test_start():
13
    assert app.start() == "Started application"
14