Skip to content

Commit 765645f

Browse files
b0f30a36b5375e3ca102808e3db740a18468a770
1 parent b5ce9cf commit 765645f

File tree

101 files changed

+6457
-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.

101 files changed

+6457
-0
lines changed

.openapi-generator/FILES

+99
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,103 @@ setup.cfg
216216
setup.py
217217
test-requirements.txt
218218
test/__init__.py
219+
test/test_analyses_api.py
220+
test/test_analysis_base.py
221+
test/test_analysis_common.py
222+
test/test_analysis_list.py
223+
test/test_analysis_request.py
224+
test/test_analysis_request_relationships.py
225+
test/test_analysis_request_relationships_conditions.py
226+
test/test_analysis_request_relationships_images.py
227+
test/test_analysis_request_relationships_points.py
228+
test/test_analysis_return.py
229+
test/test_analysis_return_relationships.py
230+
test/test_analysis_return_relationships_conditions.py
231+
test/test_analysis_return_relationships_images.py
232+
test/test_analysis_return_relationships_points.py
233+
test/test_annotation_base.py
234+
test/test_annotation_common.py
235+
test/test_annotation_export.py
236+
test/test_annotation_list.py
237+
test/test_annotation_request.py
238+
test/test_annotation_request_one_of.py
239+
test/test_annotation_request_relationships.py
240+
test/test_annotation_request_relationships_notes.py
241+
test/test_annotation_return.py
242+
test/test_annotation_return_one_of.py
243+
test/test_annotation_return_one_of1.py
244+
test/test_annotation_return_relationships.py
245+
test/test_annotation_return_relationships_notes.py
246+
test/test_annotations_api.py
247+
test/test_base_studies_post200_response.py
248+
test/test_base_studies_post_request.py
249+
test/test_base_study.py
250+
test/test_base_study_list.py
251+
test/test_base_study_return.py
252+
test/test_base_study_versions.py
253+
test/test_clone.py
254+
test/test_condition_base.py
255+
test/test_condition_list.py
256+
test/test_condition_request.py
257+
test/test_condition_return.py
258+
test/test_conditions_api.py
259+
test/test_entity.py
260+
test/test_image_base.py
261+
test/test_image_common.py
262+
test/test_image_list.py
263+
test/test_image_relationships.py
264+
test/test_image_request.py
265+
test/test_image_return.py
266+
test/test_images_api.py
267+
test/test_json_ld.py
268+
test/test_json_ld_context.py
269+
test/test_metadata.py
270+
test/test_nested_put_attributes.py
271+
test/test_note_collection_base.py
272+
test/test_note_collection_list.py
273+
test/test_note_collection_request.py
274+
test/test_note_collection_return.py
275+
test/test_note_collection_return_all_of.py
276+
test/test_point_base.py
277+
test/test_point_common.py
278+
test/test_point_list.py
279+
test/test_point_relationships.py
280+
test/test_point_relationships_values.py
281+
test/test_point_request.py
282+
test/test_point_return.py
283+
test/test_point_value.py
284+
test/test_points_api.py
285+
test/test_readable_resource_attributes.py
286+
test/test_resource_attributes.py
287+
test/test_store_api.py
288+
test/test_studies_api.py
289+
test/test_study_base.py
290+
test/test_study_common.py
291+
test/test_study_list.py
292+
test/test_study_request.py
293+
test/test_study_request_all_of.py
294+
test/test_study_request_relationships.py
295+
test/test_study_request_relationships_analyses.py
296+
test/test_study_return.py
297+
test/test_study_return_all_of.py
298+
test/test_study_return_all_of_studysets_inner.py
299+
test/test_study_return_all_of_studysets_inner_one_of.py
300+
test/test_study_return_relationships.py
301+
test/test_study_return_relationships_analyses.py
302+
test/test_studyset_base.py
303+
test/test_studyset_list.py
304+
test/test_studyset_request.py
305+
test/test_studyset_request_relationships.py
306+
test/test_studyset_return.py
307+
test/test_studyset_return_relationships.py
308+
test/test_studyset_return_relationships_studies.py
309+
test/test_studysets_api.py
310+
test/test_studysets_id_get404_response.py
311+
test/test_studysets_id_put422_response.py
312+
test/test_user.py
313+
test/test_user_api.py
314+
test/test_user_list.py
315+
test/test_user_resource_attributes.py
316+
test/test_userless_resource_attributes.py
317+
test/test_writeable_resource_attributes.py
219318
tox.ini

test/__init__.py

Whitespace-only changes.

test/test_analyses_api.py

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# coding: utf-8
2+
3+
"""
4+
neurostore api
5+
6+
Create studysets for meta-analysis # 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+
18+
import neurostore_sdk
19+
from neurostore_sdk.api.analyses_api import AnalysesApi # noqa: E501
20+
from neurostore_sdk.rest import ApiException
21+
22+
23+
class TestAnalysesApi(unittest.TestCase):
24+
"""AnalysesApi unit test stubs"""
25+
26+
def setUp(self):
27+
self.api = neurostore_sdk.api.analyses_api.AnalysesApi() # noqa: E501
28+
29+
def tearDown(self):
30+
pass
31+
32+
def test_analyses_get(self):
33+
"""Test case for analyses_get
34+
35+
GET list of analyses # noqa: E501
36+
"""
37+
pass
38+
39+
def test_analyses_id_delete(self):
40+
"""Test case for analyses_id_delete
41+
42+
DELETE an analysis # noqa: E501
43+
"""
44+
pass
45+
46+
def test_analyses_id_get(self):
47+
"""Test case for analyses_id_get
48+
49+
GET an analysis # noqa: E501
50+
"""
51+
pass
52+
53+
def test_analyses_id_put(self):
54+
"""Test case for analyses_id_put
55+
56+
PUT/update an analysis # noqa: E501
57+
"""
58+
pass
59+
60+
def test_analyses_post(self):
61+
"""Test case for analyses_post
62+
63+
POST/create an analysis # noqa: E501
64+
"""
65+
pass
66+
67+
def test_annotation_analyses_get(self):
68+
"""Test case for annotation_analyses_get
69+
70+
Get annotation analyses # noqa: E501
71+
"""
72+
pass
73+
74+
def test_annotation_analyses_id_get(self):
75+
"""Test case for annotation_analyses_id_get
76+
77+
Your GET endpoint # noqa: E501
78+
"""
79+
pass
80+
81+
def test_annotation_analyses_id_put(self):
82+
"""Test case for annotation_analyses_id_put
83+
84+
Your PUT endpoint # noqa: E501
85+
"""
86+
pass
87+
88+
def test_annotation_analyses_post(self):
89+
"""Test case for annotation_analyses_post
90+
91+
Your POST endpoint # noqa: E501
92+
"""
93+
pass
94+
95+
96+
if __name__ == '__main__':
97+
unittest.main()

test/test_analysis_base.py

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# coding: utf-8
2+
3+
"""
4+
neurostore api
5+
6+
Create studysets for meta-analysis # 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 neurostore_sdk
20+
from neurostore_sdk.models.analysis_base import AnalysisBase # noqa: E501
21+
from neurostore_sdk.rest import ApiException
22+
23+
class TestAnalysisBase(unittest.TestCase):
24+
"""AnalysisBase 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 AnalysisBase
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 `AnalysisBase`
38+
"""
39+
model = neurostore_sdk.models.analysis_base.AnalysisBase() # noqa: E501
40+
if include_optional :
41+
return AnalysisBase(
42+
name = '"houses>faces"',
43+
description = 'This analysis represents a contrast of houses versus faces.',
44+
weights = [
45+
1
46+
]
47+
)
48+
else :
49+
return AnalysisBase(
50+
)
51+
"""
52+
53+
def testAnalysisBase(self):
54+
"""Test AnalysisBase"""
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()

test/test_analysis_common.py

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# coding: utf-8
2+
3+
"""
4+
neurostore api
5+
6+
Create studysets for meta-analysis # 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 neurostore_sdk
20+
from neurostore_sdk.models.analysis_common import AnalysisCommon # noqa: E501
21+
from neurostore_sdk.rest import ApiException
22+
23+
class TestAnalysisCommon(unittest.TestCase):
24+
"""AnalysisCommon 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 AnalysisCommon
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 `AnalysisCommon`
38+
"""
39+
model = neurostore_sdk.models.analysis_common.AnalysisCommon() # noqa: E501
40+
if include_optional :
41+
return AnalysisCommon(
42+
study = '',
43+
entities = [
44+
neurostore_sdk.models.entity.entity(
45+
label = '',
46+
level = '',
47+
analysis = '', )
48+
],
49+
order = 56
50+
)
51+
else :
52+
return AnalysisCommon(
53+
)
54+
"""
55+
56+
def testAnalysisCommon(self):
57+
"""Test AnalysisCommon"""
58+
# inst_req_only = self.make_instance(include_optional=False)
59+
# inst_req_and_optional = self.make_instance(include_optional=True)
60+
61+
if __name__ == '__main__':
62+
unittest.main()

test/test_analysis_list.py

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# coding: utf-8
2+
3+
"""
4+
neurostore api
5+
6+
Create studysets for meta-analysis # 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 neurostore_sdk
20+
from neurostore_sdk.models.analysis_list import AnalysisList # noqa: E501
21+
from neurostore_sdk.rest import ApiException
22+
23+
class TestAnalysisList(unittest.TestCase):
24+
"""AnalysisList 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 AnalysisList
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 `AnalysisList`
38+
"""
39+
model = neurostore_sdk.models.analysis_list.AnalysisList() # noqa: E501
40+
if include_optional :
41+
return AnalysisList(
42+
metadata = neurostore_sdk.models.metadata.metadata(
43+
total_count = 56,
44+
unique_count = 56, ),
45+
results = [
46+
null
47+
]
48+
)
49+
else :
50+
return AnalysisList(
51+
)
52+
"""
53+
54+
def testAnalysisList(self):
55+
"""Test AnalysisList"""
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()

0 commit comments

Comments
 (0)