Skip to content

Commit

Permalink
b0f30a36b5375e3ca102808e3db740a18468a770
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 9, 2024
1 parent b5ce9cf commit 765645f
Show file tree
Hide file tree
Showing 101 changed files with 6,457 additions and 0 deletions.
99 changes: 99 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,103 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_analyses_api.py
test/test_analysis_base.py
test/test_analysis_common.py
test/test_analysis_list.py
test/test_analysis_request.py
test/test_analysis_request_relationships.py
test/test_analysis_request_relationships_conditions.py
test/test_analysis_request_relationships_images.py
test/test_analysis_request_relationships_points.py
test/test_analysis_return.py
test/test_analysis_return_relationships.py
test/test_analysis_return_relationships_conditions.py
test/test_analysis_return_relationships_images.py
test/test_analysis_return_relationships_points.py
test/test_annotation_base.py
test/test_annotation_common.py
test/test_annotation_export.py
test/test_annotation_list.py
test/test_annotation_request.py
test/test_annotation_request_one_of.py
test/test_annotation_request_relationships.py
test/test_annotation_request_relationships_notes.py
test/test_annotation_return.py
test/test_annotation_return_one_of.py
test/test_annotation_return_one_of1.py
test/test_annotation_return_relationships.py
test/test_annotation_return_relationships_notes.py
test/test_annotations_api.py
test/test_base_studies_post200_response.py
test/test_base_studies_post_request.py
test/test_base_study.py
test/test_base_study_list.py
test/test_base_study_return.py
test/test_base_study_versions.py
test/test_clone.py
test/test_condition_base.py
test/test_condition_list.py
test/test_condition_request.py
test/test_condition_return.py
test/test_conditions_api.py
test/test_entity.py
test/test_image_base.py
test/test_image_common.py
test/test_image_list.py
test/test_image_relationships.py
test/test_image_request.py
test/test_image_return.py
test/test_images_api.py
test/test_json_ld.py
test/test_json_ld_context.py
test/test_metadata.py
test/test_nested_put_attributes.py
test/test_note_collection_base.py
test/test_note_collection_list.py
test/test_note_collection_request.py
test/test_note_collection_return.py
test/test_note_collection_return_all_of.py
test/test_point_base.py
test/test_point_common.py
test/test_point_list.py
test/test_point_relationships.py
test/test_point_relationships_values.py
test/test_point_request.py
test/test_point_return.py
test/test_point_value.py
test/test_points_api.py
test/test_readable_resource_attributes.py
test/test_resource_attributes.py
test/test_store_api.py
test/test_studies_api.py
test/test_study_base.py
test/test_study_common.py
test/test_study_list.py
test/test_study_request.py
test/test_study_request_all_of.py
test/test_study_request_relationships.py
test/test_study_request_relationships_analyses.py
test/test_study_return.py
test/test_study_return_all_of.py
test/test_study_return_all_of_studysets_inner.py
test/test_study_return_all_of_studysets_inner_one_of.py
test/test_study_return_relationships.py
test/test_study_return_relationships_analyses.py
test/test_studyset_base.py
test/test_studyset_list.py
test/test_studyset_request.py
test/test_studyset_request_relationships.py
test/test_studyset_return.py
test/test_studyset_return_relationships.py
test/test_studyset_return_relationships_studies.py
test/test_studysets_api.py
test/test_studysets_id_get404_response.py
test/test_studysets_id_put422_response.py
test/test_user.py
test/test_user_api.py
test/test_user_list.py
test/test_user_resource_attributes.py
test/test_userless_resource_attributes.py
test/test_writeable_resource_attributes.py
tox.ini
Empty file added test/__init__.py
Empty file.
97 changes: 97 additions & 0 deletions test/test_analyses_api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# coding: utf-8

"""
neurostore api
Create studysets for meta-analysis # noqa: E501
The version of the OpenAPI document: 1.0
Contact: jamesdkent21@gmail.com
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
"""


import unittest

import neurostore_sdk
from neurostore_sdk.api.analyses_api import AnalysesApi # noqa: E501
from neurostore_sdk.rest import ApiException


class TestAnalysesApi(unittest.TestCase):
"""AnalysesApi unit test stubs"""

def setUp(self):
self.api = neurostore_sdk.api.analyses_api.AnalysesApi() # noqa: E501

def tearDown(self):
pass

def test_analyses_get(self):
"""Test case for analyses_get
GET list of analyses # noqa: E501
"""
pass

def test_analyses_id_delete(self):
"""Test case for analyses_id_delete
DELETE an analysis # noqa: E501
"""
pass

def test_analyses_id_get(self):
"""Test case for analyses_id_get
GET an analysis # noqa: E501
"""
pass

def test_analyses_id_put(self):
"""Test case for analyses_id_put
PUT/update an analysis # noqa: E501
"""
pass

def test_analyses_post(self):
"""Test case for analyses_post
POST/create an analysis # noqa: E501
"""
pass

def test_annotation_analyses_get(self):
"""Test case for annotation_analyses_get
Get annotation analyses # noqa: E501
"""
pass

def test_annotation_analyses_id_get(self):
"""Test case for annotation_analyses_id_get
Your GET endpoint # noqa: E501
"""
pass

def test_annotation_analyses_id_put(self):
"""Test case for annotation_analyses_id_put
Your PUT endpoint # noqa: E501
"""
pass

def test_annotation_analyses_post(self):
"""Test case for annotation_analyses_post
Your POST endpoint # noqa: E501
"""
pass


if __name__ == '__main__':
unittest.main()
59 changes: 59 additions & 0 deletions test/test_analysis_base.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# coding: utf-8

"""
neurostore api
Create studysets for meta-analysis # noqa: E501
The version of the OpenAPI document: 1.0
Contact: jamesdkent21@gmail.com
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
"""


import unittest
import datetime

import neurostore_sdk
from neurostore_sdk.models.analysis_base import AnalysisBase # noqa: E501
from neurostore_sdk.rest import ApiException

class TestAnalysisBase(unittest.TestCase):
"""AnalysisBase unit test stubs"""

def setUp(self):
pass

def tearDown(self):
pass

def make_instance(self, include_optional):
"""Test AnalysisBase
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `AnalysisBase`
"""
model = neurostore_sdk.models.analysis_base.AnalysisBase() # noqa: E501
if include_optional :
return AnalysisBase(
name = '"houses>faces"',
description = 'This analysis represents a contrast of houses versus faces.',
weights = [
1
]
)
else :
return AnalysisBase(
)
"""

def testAnalysisBase(self):
"""Test AnalysisBase"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
unittest.main()
62 changes: 62 additions & 0 deletions test/test_analysis_common.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# coding: utf-8

"""
neurostore api
Create studysets for meta-analysis # noqa: E501
The version of the OpenAPI document: 1.0
Contact: jamesdkent21@gmail.com
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
"""


import unittest
import datetime

import neurostore_sdk
from neurostore_sdk.models.analysis_common import AnalysisCommon # noqa: E501
from neurostore_sdk.rest import ApiException

class TestAnalysisCommon(unittest.TestCase):
"""AnalysisCommon unit test stubs"""

def setUp(self):
pass

def tearDown(self):
pass

def make_instance(self, include_optional):
"""Test AnalysisCommon
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `AnalysisCommon`
"""
model = neurostore_sdk.models.analysis_common.AnalysisCommon() # noqa: E501
if include_optional :
return AnalysisCommon(
study = '',
entities = [
neurostore_sdk.models.entity.entity(
label = '',
level = '',
analysis = '', )
],
order = 56
)
else :
return AnalysisCommon(
)
"""

def testAnalysisCommon(self):
"""Test AnalysisCommon"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
unittest.main()
60 changes: 60 additions & 0 deletions test/test_analysis_list.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# coding: utf-8

"""
neurostore api
Create studysets for meta-analysis # noqa: E501
The version of the OpenAPI document: 1.0
Contact: jamesdkent21@gmail.com
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
"""


import unittest
import datetime

import neurostore_sdk
from neurostore_sdk.models.analysis_list import AnalysisList # noqa: E501
from neurostore_sdk.rest import ApiException

class TestAnalysisList(unittest.TestCase):
"""AnalysisList unit test stubs"""

def setUp(self):
pass

def tearDown(self):
pass

def make_instance(self, include_optional):
"""Test AnalysisList
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included """
# uncomment below to create an instance of `AnalysisList`
"""
model = neurostore_sdk.models.analysis_list.AnalysisList() # noqa: E501
if include_optional :
return AnalysisList(
metadata = neurostore_sdk.models.metadata.metadata(
total_count = 56,
unique_count = 56, ),
results = [
null
]
)
else :
return AnalysisList(
)
"""

def testAnalysisList(self):
"""Test AnalysisList"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
unittest.main()
Loading

0 comments on commit 765645f

Please sign in to comment.