From af542d66d884bd17daa6f40f3556aa4189b23b36 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 28 May 2018 13:04:46 -0700 Subject: python client codegen --- python/tests/fatcat_client/__init__.py | 0 .../tests/fatcat_client/test_changelogentries.py | 40 +++++ .../fatcat_client/test_changelogentries_inner.py | 40 +++++ .../tests/fatcat_client/test_container_entity.py | 40 +++++ python/tests/fatcat_client/test_creator_entity.py | 40 +++++ python/tests/fatcat_client/test_default_api.py | 178 +++++++++++++++++++++ python/tests/fatcat_client/test_editgroup.py | 40 +++++ python/tests/fatcat_client/test_editgroup_edits.py | 40 +++++ python/tests/fatcat_client/test_editor.py | 40 +++++ python/tests/fatcat_client/test_entity_edit.py | 40 +++++ python/tests/fatcat_client/test_error_response.py | 40 +++++ python/tests/fatcat_client/test_file_entity.py | 40 +++++ python/tests/fatcat_client/test_release_contrib.py | 40 +++++ python/tests/fatcat_client/test_release_entity.py | 40 +++++ python/tests/fatcat_client/test_release_ref.py | 40 +++++ python/tests/fatcat_client/test_success.py | 40 +++++ python/tests/fatcat_client/test_work_entity.py | 40 +++++ 17 files changed, 778 insertions(+) create mode 100644 python/tests/fatcat_client/__init__.py create mode 100644 python/tests/fatcat_client/test_changelogentries.py create mode 100644 python/tests/fatcat_client/test_changelogentries_inner.py create mode 100644 python/tests/fatcat_client/test_container_entity.py create mode 100644 python/tests/fatcat_client/test_creator_entity.py create mode 100644 python/tests/fatcat_client/test_default_api.py create mode 100644 python/tests/fatcat_client/test_editgroup.py create mode 100644 python/tests/fatcat_client/test_editgroup_edits.py create mode 100644 python/tests/fatcat_client/test_editor.py create mode 100644 python/tests/fatcat_client/test_entity_edit.py create mode 100644 python/tests/fatcat_client/test_error_response.py create mode 100644 python/tests/fatcat_client/test_file_entity.py create mode 100644 python/tests/fatcat_client/test_release_contrib.py create mode 100644 python/tests/fatcat_client/test_release_entity.py create mode 100644 python/tests/fatcat_client/test_release_ref.py create mode 100644 python/tests/fatcat_client/test_success.py create mode 100644 python/tests/fatcat_client/test_work_entity.py (limited to 'python/tests/fatcat_client') diff --git a/python/tests/fatcat_client/__init__.py b/python/tests/fatcat_client/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/python/tests/fatcat_client/test_changelogentries.py b/python/tests/fatcat_client/test_changelogentries.py new file mode 100644 index 00000000..3b2bc885 --- /dev/null +++ b/python/tests/fatcat_client/test_changelogentries.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.changelogentries import Changelogentries # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestChangelogentries(unittest.TestCase): + """Changelogentries unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChangelogentries(self): + """Test Changelogentries""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.changelogentries.Changelogentries() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_changelogentries_inner.py b/python/tests/fatcat_client/test_changelogentries_inner.py new file mode 100644 index 00000000..ac836714 --- /dev/null +++ b/python/tests/fatcat_client/test_changelogentries_inner.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.changelogentries_inner import ChangelogentriesInner # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestChangelogentriesInner(unittest.TestCase): + """ChangelogentriesInner unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChangelogentriesInner(self): + """Test ChangelogentriesInner""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.changelogentries_inner.ChangelogentriesInner() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_container_entity.py b/python/tests/fatcat_client/test_container_entity.py new file mode 100644 index 00000000..0bafb7dd --- /dev/null +++ b/python/tests/fatcat_client/test_container_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.container_entity import ContainerEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestContainerEntity(unittest.TestCase): + """ContainerEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testContainerEntity(self): + """Test ContainerEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.container_entity.ContainerEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_creator_entity.py b/python/tests/fatcat_client/test_creator_entity.py new file mode 100644 index 00000000..b235b640 --- /dev/null +++ b/python/tests/fatcat_client/test_creator_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.creator_entity import CreatorEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestCreatorEntity(unittest.TestCase): + """CreatorEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreatorEntity(self): + """Test CreatorEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.creator_entity.CreatorEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_default_api.py b/python/tests/fatcat_client/test_default_api.py new file mode 100644 index 00000000..cda38f38 --- /dev/null +++ b/python/tests/fatcat_client/test_default_api.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.api.default_api import DefaultApi # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestDefaultApi(unittest.TestCase): + """DefaultApi unit test stubs""" + + def setUp(self): + self.api = fatcat_client.api.default_api.DefaultApi() # noqa: E501 + + def tearDown(self): + pass + + def test_container_batch_post(self): + """Test case for container_batch_post + + """ + pass + + def test_container_id_get(self): + """Test case for container_id_get + + """ + pass + + def test_container_lookup_get(self): + """Test case for container_lookup_get + + """ + pass + + def test_container_post(self): + """Test case for container_post + + """ + pass + + def test_creator_batch_post(self): + """Test case for creator_batch_post + + """ + pass + + def test_creator_id_get(self): + """Test case for creator_id_get + + """ + pass + + def test_creator_lookup_get(self): + """Test case for creator_lookup_get + + """ + pass + + def test_creator_post(self): + """Test case for creator_post + + """ + pass + + def test_editgroup_id_accept_post(self): + """Test case for editgroup_id_accept_post + + """ + pass + + def test_editgroup_id_get(self): + """Test case for editgroup_id_get + + """ + pass + + def test_editgroup_post(self): + """Test case for editgroup_post + + """ + pass + + def test_editor_username_changelog_get(self): + """Test case for editor_username_changelog_get + + """ + pass + + def test_editor_username_get(self): + """Test case for editor_username_get + + """ + pass + + def test_file_batch_post(self): + """Test case for file_batch_post + + """ + pass + + def test_file_id_get(self): + """Test case for file_id_get + + """ + pass + + def test_file_lookup_get(self): + """Test case for file_lookup_get + + """ + pass + + def test_file_post(self): + """Test case for file_post + + """ + pass + + def test_release_batch_post(self): + """Test case for release_batch_post + + """ + pass + + def test_release_id_get(self): + """Test case for release_id_get + + """ + pass + + def test_release_lookup_get(self): + """Test case for release_lookup_get + + """ + pass + + def test_release_post(self): + """Test case for release_post + + """ + pass + + def test_work_batch_post(self): + """Test case for work_batch_post + + """ + pass + + def test_work_id_get(self): + """Test case for work_id_get + + """ + pass + + def test_work_post(self): + """Test case for work_post + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_editgroup.py b/python/tests/fatcat_client/test_editgroup.py new file mode 100644 index 00000000..e770fd54 --- /dev/null +++ b/python/tests/fatcat_client/test_editgroup.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.editgroup import Editgroup # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEditgroup(unittest.TestCase): + """Editgroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEditgroup(self): + """Test Editgroup""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.editgroup.Editgroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_editgroup_edits.py b/python/tests/fatcat_client/test_editgroup_edits.py new file mode 100644 index 00000000..38c3c814 --- /dev/null +++ b/python/tests/fatcat_client/test_editgroup_edits.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.editgroup_edits import EditgroupEdits # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEditgroupEdits(unittest.TestCase): + """EditgroupEdits unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEditgroupEdits(self): + """Test EditgroupEdits""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.editgroup_edits.EditgroupEdits() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_editor.py b/python/tests/fatcat_client/test_editor.py new file mode 100644 index 00000000..00ca625e --- /dev/null +++ b/python/tests/fatcat_client/test_editor.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.editor import Editor # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEditor(unittest.TestCase): + """Editor unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEditor(self): + """Test Editor""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.editor.Editor() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_entity_edit.py b/python/tests/fatcat_client/test_entity_edit.py new file mode 100644 index 00000000..2f0f7ac3 --- /dev/null +++ b/python/tests/fatcat_client/test_entity_edit.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.entity_edit import EntityEdit # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEntityEdit(unittest.TestCase): + """EntityEdit unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEntityEdit(self): + """Test EntityEdit""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.entity_edit.EntityEdit() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_error_response.py b/python/tests/fatcat_client/test_error_response.py new file mode 100644 index 00000000..f0d09ee8 --- /dev/null +++ b/python/tests/fatcat_client/test_error_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.error_response import ErrorResponse # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestErrorResponse(unittest.TestCase): + """ErrorResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testErrorResponse(self): + """Test ErrorResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.error_response.ErrorResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_file_entity.py b/python/tests/fatcat_client/test_file_entity.py new file mode 100644 index 00000000..f5806f9b --- /dev/null +++ b/python/tests/fatcat_client/test_file_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.file_entity import FileEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestFileEntity(unittest.TestCase): + """FileEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFileEntity(self): + """Test FileEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.file_entity.FileEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_release_contrib.py b/python/tests/fatcat_client/test_release_contrib.py new file mode 100644 index 00000000..9a61ef89 --- /dev/null +++ b/python/tests/fatcat_client/test_release_contrib.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.release_contrib import ReleaseContrib # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestReleaseContrib(unittest.TestCase): + """ReleaseContrib unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testReleaseContrib(self): + """Test ReleaseContrib""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.release_contrib.ReleaseContrib() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_release_entity.py b/python/tests/fatcat_client/test_release_entity.py new file mode 100644 index 00000000..9a1f0e97 --- /dev/null +++ b/python/tests/fatcat_client/test_release_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.release_entity import ReleaseEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestReleaseEntity(unittest.TestCase): + """ReleaseEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testReleaseEntity(self): + """Test ReleaseEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.release_entity.ReleaseEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_release_ref.py b/python/tests/fatcat_client/test_release_ref.py new file mode 100644 index 00000000..cafb6700 --- /dev/null +++ b/python/tests/fatcat_client/test_release_ref.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.release_ref import ReleaseRef # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestReleaseRef(unittest.TestCase): + """ReleaseRef unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testReleaseRef(self): + """Test ReleaseRef""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.release_ref.ReleaseRef() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_success.py b/python/tests/fatcat_client/test_success.py new file mode 100644 index 00000000..28d855fb --- /dev/null +++ b/python/tests/fatcat_client/test_success.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.success import Success # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestSuccess(unittest.TestCase): + """Success unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSuccess(self): + """Test Success""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.success.Success() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python/tests/fatcat_client/test_work_entity.py b/python/tests/fatcat_client/test_work_entity.py new file mode 100644 index 00000000..57b0cdad --- /dev/null +++ b/python/tests/fatcat_client/test_work_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.work_entity import WorkEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestWorkEntity(unittest.TestCase): + """WorkEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWorkEntity(self): + """Test WorkEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.work_entity.WorkEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() -- cgit v1.2.3