Passed
Push — master ( 032e24...9e42ed )
by Jaisen
02:25
created

elodie.tests.run_tests   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 12
dl 0
loc 16
rs 10
c 0
b 0
f 0
1
#!/usr/bin/env python
2
3
import nose
4
import os
5
import sys
6
7
if __name__ == "__main__":
8
    test_directory = os.path.dirname(os.path.abspath(__file__))
9
    test_argv = sys.argv
10
    test_argv.append('--verbosity=2')
11
    result = nose.run(argv=test_argv)
12
    if(result):
13
        sys.exit(0)
14
    else:
15
        sys.exit(1)
16