Skip to content

Commit ba8ce7b

Browse files
53cc2cb9072c08ecaec2207760a34279fe0f99a8
1 parent 16d5791 commit ba8ce7b

File tree

68 files changed

+4548
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+4548
-0
lines changed

Diff for: .openapi-generator/FILES

+66
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,70 @@ setup.cfg
150150
setup.py
151151
test-requirements.txt
152152
test/__init__.py
153+
test/test_annotation.py
154+
test/test_annotation_list.py
155+
test/test_annotation_post_body.py
156+
test/test_annotation_return.py
157+
test/test_annotation_update.py
158+
test/test_annotation_update_all_of.py
159+
test/test_annotations_api.py
160+
test/test_compose_api.py
161+
test/test_corrector.py
162+
test/test_default_api.py
163+
test/test_estimator.py
164+
test/test_get_api.py
165+
test/test_meta_analyses_api.py
166+
test/test_meta_analyses_get400_response.py
167+
test/test_meta_analysis.py
168+
test/test_meta_analysis_annotation.py
169+
test/test_meta_analysis_list.py
170+
test/test_meta_analysis_post_body.py
171+
test/test_meta_analysis_results.py
172+
test/test_meta_analysis_return.py
173+
test/test_meta_analysis_specification.py
174+
test/test_meta_analysis_studyset.py
175+
test/test_neurostore_analysis.py
176+
test/test_neurostore_study.py
177+
test/test_neurostore_study_list.py
178+
test/test_neurostore_study_return.py
179+
test/test_neurovault_api.py
180+
test/test_neurovault_collection.py
181+
test/test_neurovault_collection_files.py
182+
test/test_neurovault_collection_return.py
183+
test/test_neurovault_file.py
184+
test/test_neurovault_file_list.py
185+
test/test_neurovault_file_return.py
186+
test/test_neurovault_list.py
187+
test/test_post_api.py
188+
test/test_project.py
189+
test/test_project_list.py
190+
test/test_project_meta_analyses.py
191+
test/test_project_return.py
192+
test/test_projects_api.py
193+
test/test_put_api.py
194+
test/test_read_only.py
195+
test/test_result.py
196+
test/test_result_init.py
197+
test/test_result_list.py
198+
test/test_result_list_results.py
199+
test/test_result_return.py
200+
test/test_specification.py
201+
test/test_specification_conditions.py
202+
test/test_specification_list.py
203+
test/test_specification_post_body.py
204+
test/test_specification_return.py
205+
test/test_specifications_api.py
206+
test/test_studyset.py
207+
test/test_studyset_list.py
208+
test/test_studyset_post_body.py
209+
test/test_studyset_reference.py
210+
test/test_studyset_reference_list.py
211+
test/test_studyset_reference_return.py
212+
test/test_studyset_reference_snapshots_inner.py
213+
test/test_studyset_return.py
214+
test/test_studysets_api.py
215+
test/test_user.py
216+
test/test_user_list.py
217+
test/test_user_return.py
218+
test/test_users_api.py
153219
tox.ini

Diff for: test/__init__.py

Whitespace-only changes.

Diff for: test/test_annotation.py

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# coding: utf-8
2+
3+
"""
4+
Analysis Specification for Meta-analysis
5+
6+
api to create a meta-analysis specification # noqa: E501
7+
8+
The version of the OpenAPI document: 1.0
9+
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
11+
12+
Do not edit the class manually.
13+
"""
14+
15+
16+
import unittest
17+
import datetime
18+
19+
import neurosynth_compose_sdk
20+
from neurosynth_compose_sdk.models.annotation import Annotation # noqa: E501
21+
from neurosynth_compose_sdk.rest import ApiException
22+
23+
class TestAnnotation(unittest.TestCase):
24+
"""Annotation unit test stubs"""
25+
26+
def setUp(self):
27+
pass
28+
29+
def tearDown(self):
30+
pass
31+
32+
def make_instance(self, include_optional):
33+
"""Test Annotation
34+
include_option is a boolean, when False only required
35+
params are included, when True both required and
36+
optional params are included """
37+
# uncomment below to create an instance of `Annotation`
38+
"""
39+
model = neurosynth_compose_sdk.models.annotation.Annotation() # noqa: E501
40+
if include_optional :
41+
return Annotation(
42+
neurostore_id = '',
43+
snapshot = None,
44+
studyset = '',
45+
neurostore_url = ''
46+
)
47+
else :
48+
return Annotation(
49+
)
50+
"""
51+
52+
def testAnnotation(self):
53+
"""Test Annotation"""
54+
# inst_req_only = self.make_instance(include_optional=False)
55+
# inst_req_and_optional = self.make_instance(include_optional=True)
56+
57+
if __name__ == '__main__':
58+
unittest.main()

Diff for: test/test_annotation_list.py

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# coding: utf-8
2+
3+
"""
4+
Analysis Specification for Meta-analysis
5+
6+
api to create a meta-analysis specification # noqa: E501
7+
8+
The version of the OpenAPI document: 1.0
9+
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
11+
12+
Do not edit the class manually.
13+
"""
14+
15+
16+
import unittest
17+
import datetime
18+
19+
import neurosynth_compose_sdk
20+
from neurosynth_compose_sdk.models.annotation_list import AnnotationList # noqa: E501
21+
from neurosynth_compose_sdk.rest import ApiException
22+
23+
class TestAnnotationList(unittest.TestCase):
24+
"""AnnotationList unit test stubs"""
25+
26+
def setUp(self):
27+
pass
28+
29+
def tearDown(self):
30+
pass
31+
32+
def make_instance(self, include_optional):
33+
"""Test AnnotationList
34+
include_option is a boolean, when False only required
35+
params are included, when True both required and
36+
optional params are included """
37+
# uncomment below to create an instance of `AnnotationList`
38+
"""
39+
model = neurosynth_compose_sdk.models.annotation_list.AnnotationList() # noqa: E501
40+
if include_optional :
41+
return AnnotationList(
42+
results = [
43+
null
44+
],
45+
metadata = neurosynth_compose_sdk.models.metadata.metadata()
46+
)
47+
else :
48+
return AnnotationList(
49+
)
50+
"""
51+
52+
def testAnnotationList(self):
53+
"""Test AnnotationList"""
54+
# inst_req_only = self.make_instance(include_optional=False)
55+
# inst_req_and_optional = self.make_instance(include_optional=True)
56+
57+
if __name__ == '__main__':
58+
unittest.main()

Diff for: test/test_annotation_post_body.py

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# coding: utf-8
2+
3+
"""
4+
Analysis Specification for Meta-analysis
5+
6+
api to create a meta-analysis specification # noqa: E501
7+
8+
The version of the OpenAPI document: 1.0
9+
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
11+
12+
Do not edit the class manually.
13+
"""
14+
15+
16+
import unittest
17+
import datetime
18+
19+
import neurosynth_compose_sdk
20+
from neurosynth_compose_sdk.models.annotation_post_body import AnnotationPostBody # noqa: E501
21+
from neurosynth_compose_sdk.rest import ApiException
22+
23+
class TestAnnotationPostBody(unittest.TestCase):
24+
"""AnnotationPostBody unit test stubs"""
25+
26+
def setUp(self):
27+
pass
28+
29+
def tearDown(self):
30+
pass
31+
32+
def make_instance(self, include_optional):
33+
"""Test AnnotationPostBody
34+
include_option is a boolean, when False only required
35+
params are included, when True both required and
36+
optional params are included """
37+
# uncomment below to create an instance of `AnnotationPostBody`
38+
"""
39+
model = neurosynth_compose_sdk.models.annotation_post_body.AnnotationPostBody() # noqa: E501
40+
if include_optional :
41+
return AnnotationPostBody(
42+
cached_studyset_id = '',
43+
neurostore_id = '',
44+
snapshot = neurosynth_compose_sdk.models.snapshot.snapshot(),
45+
studyset = '',
46+
neurostore_url = ''
47+
)
48+
else :
49+
return AnnotationPostBody(
50+
cached_studyset_id = '',
51+
)
52+
"""
53+
54+
def testAnnotationPostBody(self):
55+
"""Test AnnotationPostBody"""
56+
# inst_req_only = self.make_instance(include_optional=False)
57+
# inst_req_and_optional = self.make_instance(include_optional=True)
58+
59+
if __name__ == '__main__':
60+
unittest.main()

Diff for: test/test_annotation_return.py

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# coding: utf-8
2+
3+
"""
4+
Analysis Specification for Meta-analysis
5+
6+
api to create a meta-analysis specification # noqa: E501
7+
8+
The version of the OpenAPI document: 1.0
9+
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
11+
12+
Do not edit the class manually.
13+
"""
14+
15+
16+
import unittest
17+
import datetime
18+
19+
import neurosynth_compose_sdk
20+
from neurosynth_compose_sdk.models.annotation_return import AnnotationReturn # noqa: E501
21+
from neurosynth_compose_sdk.rest import ApiException
22+
23+
class TestAnnotationReturn(unittest.TestCase):
24+
"""AnnotationReturn unit test stubs"""
25+
26+
def setUp(self):
27+
pass
28+
29+
def tearDown(self):
30+
pass
31+
32+
def make_instance(self, include_optional):
33+
"""Test AnnotationReturn
34+
include_option is a boolean, when False only required
35+
params are included, when True both required and
36+
optional params are included """
37+
# uncomment below to create an instance of `AnnotationReturn`
38+
"""
39+
model = neurosynth_compose_sdk.models.annotation_return.AnnotationReturn() # noqa: E501
40+
if include_optional :
41+
return AnnotationReturn(
42+
neurostore_id = '',
43+
snapshot = neurosynth_compose_sdk.models.snapshot.snapshot(),
44+
studyset = '',
45+
neurostore_url = '',
46+
id = '',
47+
updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
48+
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
49+
user = '',
50+
username = ''
51+
)
52+
else :
53+
return AnnotationReturn(
54+
)
55+
"""
56+
57+
def testAnnotationReturn(self):
58+
"""Test AnnotationReturn"""
59+
# inst_req_only = self.make_instance(include_optional=False)
60+
# inst_req_and_optional = self.make_instance(include_optional=True)
61+
62+
if __name__ == '__main__':
63+
unittest.main()

Diff for: test/test_annotation_update.py

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# coding: utf-8
2+
3+
"""
4+
Analysis Specification for Meta-analysis
5+
6+
api to create a meta-analysis specification # noqa: E501
7+
8+
The version of the OpenAPI document: 1.0
9+
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
11+
12+
Do not edit the class manually.
13+
"""
14+
15+
16+
import unittest
17+
import datetime
18+
19+
import neurosynth_compose_sdk
20+
from neurosynth_compose_sdk.models.annotation_update import AnnotationUpdate # noqa: E501
21+
from neurosynth_compose_sdk.rest import ApiException
22+
23+
class TestAnnotationUpdate(unittest.TestCase):
24+
"""AnnotationUpdate unit test stubs"""
25+
26+
def setUp(self):
27+
pass
28+
29+
def tearDown(self):
30+
pass
31+
32+
def make_instance(self, include_optional):
33+
"""Test AnnotationUpdate
34+
include_option is a boolean, when False only required
35+
params are included, when True both required and
36+
optional params are included """
37+
# uncomment below to create an instance of `AnnotationUpdate`
38+
"""
39+
model = neurosynth_compose_sdk.models.annotation_update.AnnotationUpdate() # noqa: E501
40+
if include_optional :
41+
return AnnotationUpdate(
42+
cached_studyset_id = '',
43+
neurostore_id = '',
44+
snapshot = neurosynth_compose_sdk.models.snapshot.snapshot(),
45+
studyset = '',
46+
neurostore_url = ''
47+
)
48+
else :
49+
return AnnotationUpdate(
50+
)
51+
"""
52+
53+
def testAnnotationUpdate(self):
54+
"""Test AnnotationUpdate"""
55+
# inst_req_only = self.make_instance(include_optional=False)
56+
# inst_req_and_optional = self.make_instance(include_optional=True)
57+
58+
if __name__ == '__main__':
59+
unittest.main()

0 commit comments

Comments
 (0)