Passed
Pull Request — master (#321)
by Jaisen
02:15
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 10
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
import tempfile
7
8
if __name__ == "__main__":
9
   #os.environ['ELODIE_APPLICATION_DIRECTORY'] = tempfile.mkdtemp('-elodie-test')
10
   #os.environ['ELODIE_MAPQUEST_KEY'] = 'x8wQLqGhW7qK3sFpjYtVTogVtoMK0S8s'
11
   #print('Application Directory: {}'.format(os.environ['ELODIE_APPLICATION_DIRECTORY']))
12
    test_directory = os.path.dirname(os.path.abspath(__file__))
13
    test_argv = sys.argv
14
    test_argv.append('--verbosity=2')
15
    result = nose.run(argv=test_argv)
16