From c5bd3231df17fda2130e3bd51188dbe34628321a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 28 May 2018 13:22:41 -0700 Subject: start refactoring pythong code --- 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 deletions(-) delete mode 100644 python/tests/fatcat_client/__init__.py delete mode 100644 python/tests/fatcat_client/test_changelogentries.py delete mode 100644 python/tests/fatcat_client/test_changelogentries_inner.py delete mode 100644 python/tests/fatcat_client/test_container_entity.py delete mode 100644 python/tests/fatcat_client/test_creator_entity.py delete mode 100644 python/tests/fatcat_client/test_default_api.py delete mode 100644 python/tests/fatcat_client/test_editgroup.py delete mode 100644 python/tests/fatcat_client/test_editgroup_edits.py delete mode 100644 python/tests/fatcat_client/test_editor.py delete mode 100644 python/tests/fatcat_client/test_entity_edit.py delete mode 100644 python/tests/fatcat_client/test_error_response.py delete mode 100644 python/tests/fatcat_client/test_file_entity.py delete mode 100644 python/tests/fatcat_client/test_release_contrib.py delete mode 100644 python/tests/fatcat_client/test_release_entity.py delete mode 100644 python/tests/fatcat_client/test_release_ref.py delete mode 100644 python/tests/fatcat_client/test_success.py delete 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 deleted file mode 100644 index e69de29b..00000000 diff --git a/python/tests/fatcat_client/test_changelogentries.py b/python/tests/fatcat_client/test_changelogentries.py deleted file mode 100644 index 3b2bc885..00000000 --- a/python/tests/fatcat_client/test_changelogentries.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index ac836714..00000000 --- a/python/tests/fatcat_client/test_changelogentries_inner.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index 0bafb7dd..00000000 --- a/python/tests/fatcat_client/test_container_entity.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index b235b640..00000000 --- a/python/tests/fatcat_client/test_creator_entity.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index cda38f38..00000000 --- a/python/tests/fatcat_client/test_default_api.py +++ /dev/null @@ -1,178 +0,0 @@ -# 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 deleted file mode 100644 index e770fd54..00000000 --- a/python/tests/fatcat_client/test_editgroup.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index 38c3c814..00000000 --- a/python/tests/fatcat_client/test_editgroup_edits.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index 00ca625e..00000000 --- a/python/tests/fatcat_client/test_editor.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index 2f0f7ac3..00000000 --- a/python/tests/fatcat_client/test_entity_edit.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index f0d09ee8..00000000 --- a/python/tests/fatcat_client/test_error_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index f5806f9b..00000000 --- a/python/tests/fatcat_client/test_file_entity.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index 9a61ef89..00000000 --- a/python/tests/fatcat_client/test_release_contrib.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index 9a1f0e97..00000000 --- a/python/tests/fatcat_client/test_release_entity.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index cafb6700..00000000 --- a/python/tests/fatcat_client/test_release_ref.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index 28d855fb..00000000 --- a/python/tests/fatcat_client/test_success.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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 deleted file mode 100644 index 57b0cdad..00000000 --- a/python/tests/fatcat_client/test_work_entity.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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