Passed
Pull Request — master (#2)
by Yang
01:44
created

coverage_setup   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 54
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 41
dl 0
loc 54
rs 10
c 0
b 0
f 0
1
import sys
2
import os
3
4
print(sys.executable)
5
print(sys.path)
6
7
# Get current path:
8
pwd = os.path.dirname(os.path.abspath(__file__))
9
print(pwd)
10
11
script_root = os.path.dirname(pwd)
12
print(script_root)
13
sys.path.append(script_root)
14
print(sys.path)
15
print("OKAY")
16
17
from Integration.test_Integration import test_updateLocalTimepoint
18
test_updateLocalTimepoint()
19
20
from LocalDB.test_LocalDBCreate import test_LocalDBCreate, test_LocalDBCreate_CNBP
21
test_LocalDBCreate()
22
test_LocalDBCreate_CNBP()
23
24
from LORIS.test_LORIS_Query import test_checkPSCIDExist, test_checkDCCIDExist, test_LORIS_get, test_LORIS_login
25
test_checkPSCIDExist()
26
test_checkDCCIDExist()
27
test_LORIS_get()
28
test_LORIS_login()
29
30
from LocalDB.test_LocalDBQuery import test_CheckSubjectExist, test_CreateSubject, test_CreateSubjectCheckExist, test_SubjectUpdate
31
test_CheckSubjectExist()
32
test_CreateSubject()
33
test_CreateSubjectCheckExist()
34
test_SubjectUpdate()
35
36
from oshelper.test_file_ops import *
37
test_recursive_load()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_recursive_load does not seem to be defined.
Loading history...
38
test_copy_files_to_flat_folder()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_copy_files_to_flat_folder does not seem to be defined.
Loading history...
39
40
from DICOM.test_DICOM import *
41
42
test_DICOM_validator()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_DICOM_validator does not seem to be defined.
Loading history...
43
test_DICOM_RequireDecompression()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_DICOM_RequireDecompression does not seem to be defined.
Loading history...
44
test_DICOM_anonymizer()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_DICOM_anonymizer does not seem to be defined.
Loading history...
45
test_DICOM_retrieveMRN()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_DICOM_retrieveMRN does not seem to be defined.
Loading history...
46
test_DICOM_update()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_DICOM_update does not seem to be defined.
Loading history...
47
test_DICOM_computerScanAge()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_DICOM_computerScanAge does not seem to be defined.
Loading history...
48
49
from LORIS.test_LORIS_timepoint import *
50
test_visit_number_extraction()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_visit_number_extraction does not seem to be defined.
Loading history...
51
52
from LORIS.test_LORIS_helper import *
53
test_number_extraction()
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_number_extraction does not seem to be defined.
Loading history...