aboutsummaryrefslogtreecommitdiffstats
path: root/python_openapi_client/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-08-11 19:23:40 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-08-11 19:23:40 -0700
commitef79f4d157fc576eeb0f54e01d827f277de35708 (patch)
treea33f1249fa386ab7970cd677be840c15924dc319 /python_openapi_client/tests
parent2c4ea805675cee28fbbfae773420a853820f875d (diff)
downloadfatcat-ef79f4d157fc576eeb0f54e01d827f277de35708.tar.gz
fatcat-ef79f4d157fc576eeb0f54e01d827f277de35708.zip
codegen python client using newer generator (v6.0.1)
Diffstat (limited to 'python_openapi_client/tests')
-rw-r--r--python_openapi_client/tests/codegen/test_auth_api.py47
-rw-r--r--python_openapi_client/tests/codegen/test_auth_oidc.py12
-rw-r--r--python_openapi_client/tests/codegen/test_auth_oidc_result.py14
-rw-r--r--python_openapi_client/tests/codegen/test_auth_token_result.py12
-rw-r--r--python_openapi_client/tests/codegen/test_changelog_api.py41
-rw-r--r--python_openapi_client/tests/codegen/test_changelog_entry.py14
-rw-r--r--python_openapi_client/tests/codegen/test_container_auto_batch.py16
-rw-r--r--python_openapi_client/tests/codegen/test_container_entity.py12
-rw-r--r--python_openapi_client/tests/codegen/test_containers_api.py95
-rw-r--r--python_openapi_client/tests/codegen/test_creator_auto_batch.py16
-rw-r--r--python_openapi_client/tests/codegen/test_creator_entity.py12
-rw-r--r--python_openapi_client/tests/codegen/test_creators_api.py101
-rw-r--r--python_openapi_client/tests/codegen/test_default_api.py610
-rw-r--r--python_openapi_client/tests/codegen/test_editgroup.py18
-rw-r--r--python_openapi_client/tests/codegen/test_editgroup_annotation.py14
-rw-r--r--python_openapi_client/tests/codegen/test_editgroup_edits.py14
-rw-r--r--python_openapi_client/tests/codegen/test_editgroups_api.py71
-rw-r--r--python_openapi_client/tests/codegen/test_editor.py12
-rw-r--r--python_openapi_client/tests/codegen/test_editors_api.py59
-rw-r--r--python_openapi_client/tests/codegen/test_entity_edit.py12
-rw-r--r--python_openapi_client/tests/codegen/test_entity_history_entry.py18
-rw-r--r--python_openapi_client/tests/codegen/test_error_response.py12
-rw-r--r--python_openapi_client/tests/codegen/test_file_auto_batch.py16
-rw-r--r--python_openapi_client/tests/codegen/test_file_entity.py16
-rw-r--r--python_openapi_client/tests/codegen/test_file_url.py12
-rw-r--r--python_openapi_client/tests/codegen/test_files_api.py95
-rw-r--r--python_openapi_client/tests/codegen/test_fileset_auto_batch.py16
-rw-r--r--python_openapi_client/tests/codegen/test_fileset_entity.py18
-rw-r--r--python_openapi_client/tests/codegen/test_fileset_file.py12
-rw-r--r--python_openapi_client/tests/codegen/test_fileset_url.py12
-rw-r--r--python_openapi_client/tests/codegen/test_filesets_api.py89
-rw-r--r--python_openapi_client/tests/codegen/test_release_abstract.py12
-rw-r--r--python_openapi_client/tests/codegen/test_release_auto_batch.py16
-rw-r--r--python_openapi_client/tests/codegen/test_release_contrib.py14
-rw-r--r--python_openapi_client/tests/codegen/test_release_entity.py28
-rw-r--r--python_openapi_client/tests/codegen/test_release_ext_ids.py12
-rw-r--r--python_openapi_client/tests/codegen/test_release_ref.py12
-rw-r--r--python_openapi_client/tests/codegen/test_releases_api.py113
-rw-r--r--python_openapi_client/tests/codegen/test_success.py12
-rw-r--r--python_openapi_client/tests/codegen/test_webcapture_auto_batch.py16
-rw-r--r--python_openapi_client/tests/codegen/test_webcapture_cdx_line.py12
-rw-r--r--python_openapi_client/tests/codegen/test_webcapture_entity.py18
-rw-r--r--python_openapi_client/tests/codegen/test_webcapture_url.py12
-rw-r--r--python_openapi_client/tests/codegen/test_webcaptures_api.py89
-rw-r--r--python_openapi_client/tests/codegen/test_work_auto_batch.py16
-rw-r--r--python_openapi_client/tests/codegen/test_work_entity.py12
-rw-r--r--python_openapi_client/tests/codegen/test_works_api.py95
47 files changed, 1117 insertions, 890 deletions
diff --git a/python_openapi_client/tests/codegen/test_auth_api.py b/python_openapi_client/tests/codegen/test_auth_api.py
new file mode 100644
index 00000000..ce3c83cc
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_auth_api.py
@@ -0,0 +1,47 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.auth_api import AuthApi # noqa: E501
+
+
+class TestAuthApi(unittest.TestCase):
+ """AuthApi unit test stubs"""
+
+ def setUp(self):
+ self.api = AuthApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_auth_check(self):
+ """Test case for auth_check
+
+ """
+ pass
+
+ def test_auth_oidc(self):
+ """Test case for auth_oidc
+
+ """
+ pass
+
+ def test_create_auth_token(self):
+ """Test case for create_auth_token
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_auth_oidc.py b/python_openapi_client/tests/codegen/test_auth_oidc.py
index dcc42eb9..0fac3c20 100644
--- a/python_openapi_client/tests/codegen/test_auth_oidc.py
+++ b/python_openapi_client/tests/codegen/test_auth_oidc.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.auth_oidc import AuthOidc # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.auth_oidc import AuthOidc
class TestAuthOidc(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestAuthOidc(unittest.TestCase):
def testAuthOidc(self):
"""Test AuthOidc"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.auth_oidc.AuthOidc() # noqa: E501
+ # model = AuthOidc() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_auth_oidc_result.py b/python_openapi_client/tests/codegen/test_auth_oidc_result.py
index 0cf10899..3cb13568 100644
--- a/python_openapi_client/tests/codegen/test_auth_oidc_result.py
+++ b/python_openapi_client/tests/codegen/test_auth_oidc_result.py
@@ -1,23 +1,21 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.auth_oidc_result import AuthOidcResult # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editor import Editor
+globals()['Editor'] = Editor
+from fatcat_openapi_client.model.auth_oidc_result import AuthOidcResult
class TestAuthOidcResult(unittest.TestCase):
@@ -32,7 +30,7 @@ class TestAuthOidcResult(unittest.TestCase):
def testAuthOidcResult(self):
"""Test AuthOidcResult"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.auth_oidc_result.AuthOidcResult() # noqa: E501
+ # model = AuthOidcResult() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_auth_token_result.py b/python_openapi_client/tests/codegen/test_auth_token_result.py
index 2385fa25..829ff003 100644
--- a/python_openapi_client/tests/codegen/test_auth_token_result.py
+++ b/python_openapi_client/tests/codegen/test_auth_token_result.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.auth_token_result import AuthTokenResult # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.auth_token_result import AuthTokenResult
class TestAuthTokenResult(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestAuthTokenResult(unittest.TestCase):
def testAuthTokenResult(self):
"""Test AuthTokenResult"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.auth_token_result.AuthTokenResult() # noqa: E501
+ # model = AuthTokenResult() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_changelog_api.py b/python_openapi_client/tests/codegen/test_changelog_api.py
new file mode 100644
index 00000000..c2144f18
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_changelog_api.py
@@ -0,0 +1,41 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.changelog_api import ChangelogApi # noqa: E501
+
+
+class TestChangelogApi(unittest.TestCase):
+ """ChangelogApi unit test stubs"""
+
+ def setUp(self):
+ self.api = ChangelogApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_get_changelog(self):
+ """Test case for get_changelog
+
+ """
+ pass
+
+ def test_get_changelog_entry(self):
+ """Test case for get_changelog_entry
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_changelog_entry.py b/python_openapi_client/tests/codegen/test_changelog_entry.py
index 3e7e1b99..6e9ac6f7 100644
--- a/python_openapi_client/tests/codegen/test_changelog_entry.py
+++ b/python_openapi_client/tests/codegen/test_changelog_entry.py
@@ -1,23 +1,21 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.changelog_entry import ChangelogEntry # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editgroup import Editgroup
+globals()['Editgroup'] = Editgroup
+from fatcat_openapi_client.model.changelog_entry import ChangelogEntry
class TestChangelogEntry(unittest.TestCase):
@@ -32,7 +30,7 @@ class TestChangelogEntry(unittest.TestCase):
def testChangelogEntry(self):
"""Test ChangelogEntry"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.changelog_entry.ChangelogEntry() # noqa: E501
+ # model = ChangelogEntry() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_container_auto_batch.py b/python_openapi_client/tests/codegen/test_container_auto_batch.py
index 6107ff3b..43548a06 100644
--- a/python_openapi_client/tests/codegen/test_container_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_container_auto_batch.py
@@ -1,23 +1,23 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.container_auto_batch import ContainerAutoBatch # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.container_entity import ContainerEntity
+from fatcat_openapi_client.model.editgroup import Editgroup
+globals()['ContainerEntity'] = ContainerEntity
+globals()['Editgroup'] = Editgroup
+from fatcat_openapi_client.model.container_auto_batch import ContainerAutoBatch
class TestContainerAutoBatch(unittest.TestCase):
@@ -32,7 +32,7 @@ class TestContainerAutoBatch(unittest.TestCase):
def testContainerAutoBatch(self):
"""Test ContainerAutoBatch"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.container_auto_batch.ContainerAutoBatch() # noqa: E501
+ # model = ContainerAutoBatch() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_container_entity.py b/python_openapi_client/tests/codegen/test_container_entity.py
index 418fd8e3..54b2307e 100644
--- a/python_openapi_client/tests/codegen/test_container_entity.py
+++ b/python_openapi_client/tests/codegen/test_container_entity.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.container_entity import ContainerEntity # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.container_entity import ContainerEntity
class TestContainerEntity(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestContainerEntity(unittest.TestCase):
def testContainerEntity(self):
"""Test ContainerEntity"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.container_entity.ContainerEntity() # noqa: E501
+ # model = ContainerEntity() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_containers_api.py b/python_openapi_client/tests/codegen/test_containers_api.py
new file mode 100644
index 00000000..f6b752cc
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_containers_api.py
@@ -0,0 +1,95 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.containers_api import ContainersApi # noqa: E501
+
+
+class TestContainersApi(unittest.TestCase):
+ """ContainersApi unit test stubs"""
+
+ def setUp(self):
+ self.api = ContainersApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_create_container(self):
+ """Test case for create_container
+
+ """
+ pass
+
+ def test_create_container_auto_batch(self):
+ """Test case for create_container_auto_batch
+
+ """
+ pass
+
+ def test_delete_container(self):
+ """Test case for delete_container
+
+ """
+ pass
+
+ def test_delete_container_edit(self):
+ """Test case for delete_container_edit
+
+ """
+ pass
+
+ def test_get_container(self):
+ """Test case for get_container
+
+ """
+ pass
+
+ def test_get_container_edit(self):
+ """Test case for get_container_edit
+
+ """
+ pass
+
+ def test_get_container_history(self):
+ """Test case for get_container_history
+
+ """
+ pass
+
+ def test_get_container_redirects(self):
+ """Test case for get_container_redirects
+
+ """
+ pass
+
+ def test_get_container_revision(self):
+ """Test case for get_container_revision
+
+ """
+ pass
+
+ def test_lookup_container(self):
+ """Test case for lookup_container
+
+ """
+ pass
+
+ def test_update_container(self):
+ """Test case for update_container
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_creator_auto_batch.py b/python_openapi_client/tests/codegen/test_creator_auto_batch.py
index de00b2a1..aea5108e 100644
--- a/python_openapi_client/tests/codegen/test_creator_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_creator_auto_batch.py
@@ -1,23 +1,23 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.creator_auto_batch import CreatorAutoBatch # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.creator_entity import CreatorEntity
+from fatcat_openapi_client.model.editgroup import Editgroup
+globals()['CreatorEntity'] = CreatorEntity
+globals()['Editgroup'] = Editgroup
+from fatcat_openapi_client.model.creator_auto_batch import CreatorAutoBatch
class TestCreatorAutoBatch(unittest.TestCase):
@@ -32,7 +32,7 @@ class TestCreatorAutoBatch(unittest.TestCase):
def testCreatorAutoBatch(self):
"""Test CreatorAutoBatch"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.creator_auto_batch.CreatorAutoBatch() # noqa: E501
+ # model = CreatorAutoBatch() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_creator_entity.py b/python_openapi_client/tests/codegen/test_creator_entity.py
index b019bbe8..29d4f643 100644
--- a/python_openapi_client/tests/codegen/test_creator_entity.py
+++ b/python_openapi_client/tests/codegen/test_creator_entity.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.creator_entity import CreatorEntity # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.creator_entity import CreatorEntity
class TestCreatorEntity(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestCreatorEntity(unittest.TestCase):
def testCreatorEntity(self):
"""Test CreatorEntity"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.creator_entity.CreatorEntity() # noqa: E501
+ # model = CreatorEntity() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_creators_api.py b/python_openapi_client/tests/codegen/test_creators_api.py
new file mode 100644
index 00000000..f0014a0c
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_creators_api.py
@@ -0,0 +1,101 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.creators_api import CreatorsApi # noqa: E501
+
+
+class TestCreatorsApi(unittest.TestCase):
+ """CreatorsApi unit test stubs"""
+
+ def setUp(self):
+ self.api = CreatorsApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_create_creator(self):
+ """Test case for create_creator
+
+ """
+ pass
+
+ def test_create_creator_auto_batch(self):
+ """Test case for create_creator_auto_batch
+
+ """
+ pass
+
+ def test_delete_creator(self):
+ """Test case for delete_creator
+
+ """
+ pass
+
+ def test_delete_creator_edit(self):
+ """Test case for delete_creator_edit
+
+ """
+ pass
+
+ def test_get_creator(self):
+ """Test case for get_creator
+
+ """
+ pass
+
+ def test_get_creator_edit(self):
+ """Test case for get_creator_edit
+
+ """
+ pass
+
+ def test_get_creator_history(self):
+ """Test case for get_creator_history
+
+ """
+ pass
+
+ def test_get_creator_redirects(self):
+ """Test case for get_creator_redirects
+
+ """
+ pass
+
+ def test_get_creator_releases(self):
+ """Test case for get_creator_releases
+
+ """
+ pass
+
+ def test_get_creator_revision(self):
+ """Test case for get_creator_revision
+
+ """
+ pass
+
+ def test_lookup_creator(self):
+ """Test case for lookup_creator
+
+ """
+ pass
+
+ def test_update_creator(self):
+ """Test case for update_creator
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_default_api.py b/python_openapi_client/tests/codegen/test_default_api.py
deleted file mode 100644
index c86c1e80..00000000
--- a/python_openapi_client/tests/codegen/test_default_api.py
+++ /dev/null
@@ -1,610 +0,0 @@
-# coding: utf-8
-
-"""
- fatcat
-
- Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
-
- The version of the OpenAPI document: 0.4.0
- Contact: webservices@archive.org
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-
-import fatcat_openapi_client
-from fatcat_openapi_client.api.default_api import DefaultApi # noqa: E501
-from fatcat_openapi_client.rest import ApiException
-
-
-class TestDefaultApi(unittest.TestCase):
- """DefaultApi unit test stubs"""
-
- def setUp(self):
- self.api = fatcat_openapi_client.api.default_api.DefaultApi() # noqa: E501
-
- def tearDown(self):
- pass
-
- def test_accept_editgroup(self):
- """Test case for accept_editgroup
-
- """
- pass
-
- def test_auth_check(self):
- """Test case for auth_check
-
- """
- pass
-
- def test_auth_oidc(self):
- """Test case for auth_oidc
-
- """
- pass
-
- def test_create_auth_token(self):
- """Test case for create_auth_token
-
- """
- pass
-
- def test_create_container(self):
- """Test case for create_container
-
- """
- pass
-
- def test_create_container_auto_batch(self):
- """Test case for create_container_auto_batch
-
- """
- pass
-
- def test_create_creator(self):
- """Test case for create_creator
-
- """
- pass
-
- def test_create_creator_auto_batch(self):
- """Test case for create_creator_auto_batch
-
- """
- pass
-
- def test_create_editgroup(self):
- """Test case for create_editgroup
-
- """
- pass
-
- def test_create_editgroup_annotation(self):
- """Test case for create_editgroup_annotation
-
- """
- pass
-
- def test_create_file(self):
- """Test case for create_file
-
- """
- pass
-
- def test_create_file_auto_batch(self):
- """Test case for create_file_auto_batch
-
- """
- pass
-
- def test_create_fileset(self):
- """Test case for create_fileset
-
- """
- pass
-
- def test_create_fileset_auto_batch(self):
- """Test case for create_fileset_auto_batch
-
- """
- pass
-
- def test_create_release(self):
- """Test case for create_release
-
- """
- pass
-
- def test_create_release_auto_batch(self):
- """Test case for create_release_auto_batch
-
- """
- pass
-
- def test_create_webcapture(self):
- """Test case for create_webcapture
-
- """
- pass
-
- def test_create_webcapture_auto_batch(self):
- """Test case for create_webcapture_auto_batch
-
- """
- pass
-
- def test_create_work(self):
- """Test case for create_work
-
- """
- pass
-
- def test_create_work_auto_batch(self):
- """Test case for create_work_auto_batch
-
- """
- pass
-
- def test_delete_container(self):
- """Test case for delete_container
-
- """
- pass
-
- def test_delete_container_edit(self):
- """Test case for delete_container_edit
-
- """
- pass
-
- def test_delete_creator(self):
- """Test case for delete_creator
-
- """
- pass
-
- def test_delete_creator_edit(self):
- """Test case for delete_creator_edit
-
- """
- pass
-
- def test_delete_file(self):
- """Test case for delete_file
-
- """
- pass
-
- def test_delete_file_edit(self):
- """Test case for delete_file_edit
-
- """
- pass
-
- def test_delete_fileset(self):
- """Test case for delete_fileset
-
- """
- pass
-
- def test_delete_fileset_edit(self):
- """Test case for delete_fileset_edit
-
- """
- pass
-
- def test_delete_release(self):
- """Test case for delete_release
-
- """
- pass
-
- def test_delete_release_edit(self):
- """Test case for delete_release_edit
-
- """
- pass
-
- def test_delete_webcapture(self):
- """Test case for delete_webcapture
-
- """
- pass
-
- def test_delete_webcapture_edit(self):
- """Test case for delete_webcapture_edit
-
- """
- pass
-
- def test_delete_work(self):
- """Test case for delete_work
-
- """
- pass
-
- def test_delete_work_edit(self):
- """Test case for delete_work_edit
-
- """
- pass
-
- def test_get_changelog(self):
- """Test case for get_changelog
-
- """
- pass
-
- def test_get_changelog_entry(self):
- """Test case for get_changelog_entry
-
- """
- pass
-
- def test_get_container(self):
- """Test case for get_container
-
- """
- pass
-
- def test_get_container_edit(self):
- """Test case for get_container_edit
-
- """
- pass
-
- def test_get_container_history(self):
- """Test case for get_container_history
-
- """
- pass
-
- def test_get_container_redirects(self):
- """Test case for get_container_redirects
-
- """
- pass
-
- def test_get_container_revision(self):
- """Test case for get_container_revision
-
- """
- pass
-
- def test_get_creator(self):
- """Test case for get_creator
-
- """
- pass
-
- def test_get_creator_edit(self):
- """Test case for get_creator_edit
-
- """
- pass
-
- def test_get_creator_history(self):
- """Test case for get_creator_history
-
- """
- pass
-
- def test_get_creator_redirects(self):
- """Test case for get_creator_redirects
-
- """
- pass
-
- def test_get_creator_releases(self):
- """Test case for get_creator_releases
-
- """
- pass
-
- def test_get_creator_revision(self):
- """Test case for get_creator_revision
-
- """
- pass
-
- def test_get_editgroup(self):
- """Test case for get_editgroup
-
- """
- pass
-
- def test_get_editgroup_annotations(self):
- """Test case for get_editgroup_annotations
-
- """
- pass
-
- def test_get_editgroups_reviewable(self):
- """Test case for get_editgroups_reviewable
-
- """
- pass
-
- def test_get_editor(self):
- """Test case for get_editor
-
- """
- pass
-
- def test_get_editor_annotations(self):
- """Test case for get_editor_annotations
-
- """
- pass
-
- def test_get_editor_editgroups(self):
- """Test case for get_editor_editgroups
-
- """
- pass
-
- def test_get_file(self):
- """Test case for get_file
-
- """
- pass
-
- def test_get_file_edit(self):
- """Test case for get_file_edit
-
- """
- pass
-
- def test_get_file_history(self):
- """Test case for get_file_history
-
- """
- pass
-
- def test_get_file_redirects(self):
- """Test case for get_file_redirects
-
- """
- pass
-
- def test_get_file_revision(self):
- """Test case for get_file_revision
-
- """
- pass
-
- def test_get_fileset(self):
- """Test case for get_fileset
-
- """
- pass
-
- def test_get_fileset_edit(self):
- """Test case for get_fileset_edit
-
- """
- pass
-
- def test_get_fileset_history(self):
- """Test case for get_fileset_history
-
- """
- pass
-
- def test_get_fileset_redirects(self):
- """Test case for get_fileset_redirects
-
- """
- pass
-
- def test_get_fileset_revision(self):
- """Test case for get_fileset_revision
-
- """
- pass
-
- def test_get_release(self):
- """Test case for get_release
-
- """
- pass
-
- def test_get_release_edit(self):
- """Test case for get_release_edit
-
- """
- pass
-
- def test_get_release_files(self):
- """Test case for get_release_files
-
- """
- pass
-
- def test_get_release_filesets(self):
- """Test case for get_release_filesets
-
- """
- pass
-
- def test_get_release_history(self):
- """Test case for get_release_history
-
- """
- pass
-
- def test_get_release_redirects(self):
- """Test case for get_release_redirects
-
- """
- pass
-
- def test_get_release_revision(self):
- """Test case for get_release_revision
-
- """
- pass
-
- def test_get_release_webcaptures(self):
- """Test case for get_release_webcaptures
-
- """
- pass
-
- def test_get_webcapture(self):
- """Test case for get_webcapture
-
- """
- pass
-
- def test_get_webcapture_edit(self):
- """Test case for get_webcapture_edit
-
- """
- pass
-
- def test_get_webcapture_history(self):
- """Test case for get_webcapture_history
-
- """
- pass
-
- def test_get_webcapture_redirects(self):
- """Test case for get_webcapture_redirects
-
- """
- pass
-
- def test_get_webcapture_revision(self):
- """Test case for get_webcapture_revision
-
- """
- pass
-
- def test_get_work(self):
- """Test case for get_work
-
- """
- pass
-
- def test_get_work_edit(self):
- """Test case for get_work_edit
-
- """
- pass
-
- def test_get_work_history(self):
- """Test case for get_work_history
-
- """
- pass
-
- def test_get_work_redirects(self):
- """Test case for get_work_redirects
-
- """
- pass
-
- def test_get_work_releases(self):
- """Test case for get_work_releases
-
- """
- pass
-
- def test_get_work_revision(self):
- """Test case for get_work_revision
-
- """
- pass
-
- def test_lookup_container(self):
- """Test case for lookup_container
-
- """
- pass
-
- def test_lookup_creator(self):
- """Test case for lookup_creator
-
- """
- pass
-
- def test_lookup_editor(self):
- """Test case for lookup_editor
-
- """
- pass
-
- def test_lookup_file(self):
- """Test case for lookup_file
-
- """
- pass
-
- def test_lookup_release(self):
- """Test case for lookup_release
-
- """
- pass
-
- def test_update_container(self):
- """Test case for update_container
-
- """
- pass
-
- def test_update_creator(self):
- """Test case for update_creator
-
- """
- pass
-
- def test_update_editgroup(self):
- """Test case for update_editgroup
-
- """
- pass
-
- def test_update_editor(self):
- """Test case for update_editor
-
- """
- pass
-
- def test_update_file(self):
- """Test case for update_file
-
- """
- pass
-
- def test_update_fileset(self):
- """Test case for update_fileset
-
- """
- pass
-
- def test_update_release(self):
- """Test case for update_release
-
- """
- pass
-
- def test_update_webcapture(self):
- """Test case for update_webcapture
-
- """
- pass
-
- def test_update_work(self):
- """Test case for update_work
-
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_editgroup.py b/python_openapi_client/tests/codegen/test_editgroup.py
index b8e26289..42d6455e 100644
--- a/python_openapi_client/tests/codegen/test_editgroup.py
+++ b/python_openapi_client/tests/codegen/test_editgroup.py
@@ -1,23 +1,25 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.editgroup import Editgroup # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editgroup_annotation import EditgroupAnnotation
+from fatcat_openapi_client.model.editgroup_edits import EditgroupEdits
+from fatcat_openapi_client.model.editor import Editor
+globals()['EditgroupAnnotation'] = EditgroupAnnotation
+globals()['EditgroupEdits'] = EditgroupEdits
+globals()['Editor'] = Editor
+from fatcat_openapi_client.model.editgroup import Editgroup
class TestEditgroup(unittest.TestCase):
@@ -32,7 +34,7 @@ class TestEditgroup(unittest.TestCase):
def testEditgroup(self):
"""Test Editgroup"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.editgroup.Editgroup() # noqa: E501
+ # model = Editgroup() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_editgroup_annotation.py b/python_openapi_client/tests/codegen/test_editgroup_annotation.py
index 00657b15..9425c412 100644
--- a/python_openapi_client/tests/codegen/test_editgroup_annotation.py
+++ b/python_openapi_client/tests/codegen/test_editgroup_annotation.py
@@ -1,23 +1,21 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.editgroup_annotation import EditgroupAnnotation # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editor import Editor
+globals()['Editor'] = Editor
+from fatcat_openapi_client.model.editgroup_annotation import EditgroupAnnotation
class TestEditgroupAnnotation(unittest.TestCase):
@@ -32,7 +30,7 @@ class TestEditgroupAnnotation(unittest.TestCase):
def testEditgroupAnnotation(self):
"""Test EditgroupAnnotation"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.editgroup_annotation.EditgroupAnnotation() # noqa: E501
+ # model = EditgroupAnnotation() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_editgroup_edits.py b/python_openapi_client/tests/codegen/test_editgroup_edits.py
index 9883c6c5..77178b93 100644
--- a/python_openapi_client/tests/codegen/test_editgroup_edits.py
+++ b/python_openapi_client/tests/codegen/test_editgroup_edits.py
@@ -1,23 +1,21 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.editgroup_edits import EditgroupEdits # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.entity_edit import EntityEdit
+globals()['EntityEdit'] = EntityEdit
+from fatcat_openapi_client.model.editgroup_edits import EditgroupEdits
class TestEditgroupEdits(unittest.TestCase):
@@ -32,7 +30,7 @@ class TestEditgroupEdits(unittest.TestCase):
def testEditgroupEdits(self):
"""Test EditgroupEdits"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.editgroup_edits.EditgroupEdits() # noqa: E501
+ # model = EditgroupEdits() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_editgroups_api.py b/python_openapi_client/tests/codegen/test_editgroups_api.py
new file mode 100644
index 00000000..cb7ee184
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_editgroups_api.py
@@ -0,0 +1,71 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.editgroups_api import EditgroupsApi # noqa: E501
+
+
+class TestEditgroupsApi(unittest.TestCase):
+ """EditgroupsApi unit test stubs"""
+
+ def setUp(self):
+ self.api = EditgroupsApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_accept_editgroup(self):
+ """Test case for accept_editgroup
+
+ """
+ pass
+
+ def test_create_editgroup(self):
+ """Test case for create_editgroup
+
+ """
+ pass
+
+ def test_create_editgroup_annotation(self):
+ """Test case for create_editgroup_annotation
+
+ """
+ pass
+
+ def test_get_editgroup(self):
+ """Test case for get_editgroup
+
+ """
+ pass
+
+ def test_get_editgroup_annotations(self):
+ """Test case for get_editgroup_annotations
+
+ """
+ pass
+
+ def test_get_editgroups_reviewable(self):
+ """Test case for get_editgroups_reviewable
+
+ """
+ pass
+
+ def test_update_editgroup(self):
+ """Test case for update_editgroup
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_editor.py b/python_openapi_client/tests/codegen/test_editor.py
index b8fe7bb2..972a138d 100644
--- a/python_openapi_client/tests/codegen/test_editor.py
+++ b/python_openapi_client/tests/codegen/test_editor.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.editor import Editor # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editor import Editor
class TestEditor(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestEditor(unittest.TestCase):
def testEditor(self):
"""Test Editor"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.editor.Editor() # noqa: E501
+ # model = Editor() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_editors_api.py b/python_openapi_client/tests/codegen/test_editors_api.py
new file mode 100644
index 00000000..fb8d3f56
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_editors_api.py
@@ -0,0 +1,59 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.editors_api import EditorsApi # noqa: E501
+
+
+class TestEditorsApi(unittest.TestCase):
+ """EditorsApi unit test stubs"""
+
+ def setUp(self):
+ self.api = EditorsApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_get_editor(self):
+ """Test case for get_editor
+
+ """
+ pass
+
+ def test_get_editor_annotations(self):
+ """Test case for get_editor_annotations
+
+ """
+ pass
+
+ def test_get_editor_editgroups(self):
+ """Test case for get_editor_editgroups
+
+ """
+ pass
+
+ def test_lookup_editor(self):
+ """Test case for lookup_editor
+
+ """
+ pass
+
+ def test_update_editor(self):
+ """Test case for update_editor
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_entity_edit.py b/python_openapi_client/tests/codegen/test_entity_edit.py
index 43cf8198..48c3f494 100644
--- a/python_openapi_client/tests/codegen/test_entity_edit.py
+++ b/python_openapi_client/tests/codegen/test_entity_edit.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.entity_edit import EntityEdit # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.entity_edit import EntityEdit
class TestEntityEdit(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestEntityEdit(unittest.TestCase):
def testEntityEdit(self):
"""Test EntityEdit"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.entity_edit.EntityEdit() # noqa: E501
+ # model = EntityEdit() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_entity_history_entry.py b/python_openapi_client/tests/codegen/test_entity_history_entry.py
index e707d1e1..a6d55eb5 100644
--- a/python_openapi_client/tests/codegen/test_entity_history_entry.py
+++ b/python_openapi_client/tests/codegen/test_entity_history_entry.py
@@ -1,23 +1,25 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.entity_history_entry import EntityHistoryEntry # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.changelog_entry import ChangelogEntry
+from fatcat_openapi_client.model.editgroup import Editgroup
+from fatcat_openapi_client.model.entity_edit import EntityEdit
+globals()['ChangelogEntry'] = ChangelogEntry
+globals()['Editgroup'] = Editgroup
+globals()['EntityEdit'] = EntityEdit
+from fatcat_openapi_client.model.entity_history_entry import EntityHistoryEntry
class TestEntityHistoryEntry(unittest.TestCase):
@@ -32,7 +34,7 @@ class TestEntityHistoryEntry(unittest.TestCase):
def testEntityHistoryEntry(self):
"""Test EntityHistoryEntry"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.entity_history_entry.EntityHistoryEntry() # noqa: E501
+ # model = EntityHistoryEntry() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_error_response.py b/python_openapi_client/tests/codegen/test_error_response.py
index 5ce74856..a2734184 100644
--- a/python_openapi_client/tests/codegen/test_error_response.py
+++ b/python_openapi_client/tests/codegen/test_error_response.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.error_response import ErrorResponse # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.error_response import ErrorResponse
class TestErrorResponse(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestErrorResponse(unittest.TestCase):
def testErrorResponse(self):
"""Test ErrorResponse"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.error_response.ErrorResponse() # noqa: E501
+ # model = ErrorResponse() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_file_auto_batch.py b/python_openapi_client/tests/codegen/test_file_auto_batch.py
index 0327c157..d7a49dd6 100644
--- a/python_openapi_client/tests/codegen/test_file_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_file_auto_batch.py
@@ -1,23 +1,23 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.file_auto_batch import FileAutoBatch # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editgroup import Editgroup
+from fatcat_openapi_client.model.file_entity import FileEntity
+globals()['Editgroup'] = Editgroup
+globals()['FileEntity'] = FileEntity
+from fatcat_openapi_client.model.file_auto_batch import FileAutoBatch
class TestFileAutoBatch(unittest.TestCase):
@@ -32,7 +32,7 @@ class TestFileAutoBatch(unittest.TestCase):
def testFileAutoBatch(self):
"""Test FileAutoBatch"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.file_auto_batch.FileAutoBatch() # noqa: E501
+ # model = FileAutoBatch() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_file_entity.py b/python_openapi_client/tests/codegen/test_file_entity.py
index beeb3871..61f0f444 100644
--- a/python_openapi_client/tests/codegen/test_file_entity.py
+++ b/python_openapi_client/tests/codegen/test_file_entity.py
@@ -1,23 +1,23 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.file_entity import FileEntity # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.file_url import FileUrl
+from fatcat_openapi_client.model.release_entity import ReleaseEntity
+globals()['FileUrl'] = FileUrl
+globals()['ReleaseEntity'] = ReleaseEntity
+from fatcat_openapi_client.model.file_entity import FileEntity
class TestFileEntity(unittest.TestCase):
@@ -32,7 +32,7 @@ class TestFileEntity(unittest.TestCase):
def testFileEntity(self):
"""Test FileEntity"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.file_entity.FileEntity() # noqa: E501
+ # model = FileEntity() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_file_url.py b/python_openapi_client/tests/codegen/test_file_url.py
index 46e37e73..0450bf54 100644
--- a/python_openapi_client/tests/codegen/test_file_url.py
+++ b/python_openapi_client/tests/codegen/test_file_url.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.file_url import FileUrl # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.file_url import FileUrl
class TestFileUrl(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestFileUrl(unittest.TestCase):
def testFileUrl(self):
"""Test FileUrl"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.file_url.FileUrl() # noqa: E501
+ # model = FileUrl() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_files_api.py b/python_openapi_client/tests/codegen/test_files_api.py
new file mode 100644
index 00000000..592b5118
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_files_api.py
@@ -0,0 +1,95 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.files_api import FilesApi # noqa: E501
+
+
+class TestFilesApi(unittest.TestCase):
+ """FilesApi unit test stubs"""
+
+ def setUp(self):
+ self.api = FilesApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_create_file(self):
+ """Test case for create_file
+
+ """
+ pass
+
+ def test_create_file_auto_batch(self):
+ """Test case for create_file_auto_batch
+
+ """
+ pass
+
+ def test_delete_file(self):
+ """Test case for delete_file
+
+ """
+ pass
+
+ def test_delete_file_edit(self):
+ """Test case for delete_file_edit
+
+ """
+ pass
+
+ def test_get_file(self):
+ """Test case for get_file
+
+ """
+ pass
+
+ def test_get_file_edit(self):
+ """Test case for get_file_edit
+
+ """
+ pass
+
+ def test_get_file_history(self):
+ """Test case for get_file_history
+
+ """
+ pass
+
+ def test_get_file_redirects(self):
+ """Test case for get_file_redirects
+
+ """
+ pass
+
+ def test_get_file_revision(self):
+ """Test case for get_file_revision
+
+ """
+ pass
+
+ def test_lookup_file(self):
+ """Test case for lookup_file
+
+ """
+ pass
+
+ def test_update_file(self):
+ """Test case for update_file
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_fileset_auto_batch.py b/python_openapi_client/tests/codegen/test_fileset_auto_batch.py
index 57267b72..fa2883e0 100644
--- a/python_openapi_client/tests/codegen/test_fileset_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_fileset_auto_batch.py
@@ -1,23 +1,23 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.fileset_auto_batch import FilesetAutoBatch # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editgroup import Editgroup
+from fatcat_openapi_client.model.fileset_entity import FilesetEntity
+globals()['Editgroup'] = Editgroup
+globals()['FilesetEntity'] = FilesetEntity
+from fatcat_openapi_client.model.fileset_auto_batch import FilesetAutoBatch
class TestFilesetAutoBatch(unittest.TestCase):
@@ -32,7 +32,7 @@ class TestFilesetAutoBatch(unittest.TestCase):
def testFilesetAutoBatch(self):
"""Test FilesetAutoBatch"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.fileset_auto_batch.FilesetAutoBatch() # noqa: E501
+ # model = FilesetAutoBatch() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_fileset_entity.py b/python_openapi_client/tests/codegen/test_fileset_entity.py
index 6a097b52..1c4ac01a 100644
--- a/python_openapi_client/tests/codegen/test_fileset_entity.py
+++ b/python_openapi_client/tests/codegen/test_fileset_entity.py
@@ -1,23 +1,25 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.fileset_entity import FilesetEntity # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.fileset_file import FilesetFile
+from fatcat_openapi_client.model.fileset_url import FilesetUrl
+from fatcat_openapi_client.model.release_entity import ReleaseEntity
+globals()['FilesetFile'] = FilesetFile
+globals()['FilesetUrl'] = FilesetUrl
+globals()['ReleaseEntity'] = ReleaseEntity
+from fatcat_openapi_client.model.fileset_entity import FilesetEntity
class TestFilesetEntity(unittest.TestCase):
@@ -32,7 +34,7 @@ class TestFilesetEntity(unittest.TestCase):
def testFilesetEntity(self):
"""Test FilesetEntity"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.fileset_entity.FilesetEntity() # noqa: E501
+ # model = FilesetEntity() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_fileset_file.py b/python_openapi_client/tests/codegen/test_fileset_file.py
index 73353d59..7cfa97e0 100644
--- a/python_openapi_client/tests/codegen/test_fileset_file.py
+++ b/python_openapi_client/tests/codegen/test_fileset_file.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.fileset_file import FilesetFile # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.fileset_file import FilesetFile
class TestFilesetFile(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestFilesetFile(unittest.TestCase):
def testFilesetFile(self):
"""Test FilesetFile"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.fileset_file.FilesetFile() # noqa: E501
+ # model = FilesetFile() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_fileset_url.py b/python_openapi_client/tests/codegen/test_fileset_url.py
index b159fbe9..ca4eaf5d 100644
--- a/python_openapi_client/tests/codegen/test_fileset_url.py
+++ b/python_openapi_client/tests/codegen/test_fileset_url.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.fileset_url import FilesetUrl # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.fileset_url import FilesetUrl
class TestFilesetUrl(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestFilesetUrl(unittest.TestCase):
def testFilesetUrl(self):
"""Test FilesetUrl"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.fileset_url.FilesetUrl() # noqa: E501
+ # model = FilesetUrl() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_filesets_api.py b/python_openapi_client/tests/codegen/test_filesets_api.py
new file mode 100644
index 00000000..116bd84b
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_filesets_api.py
@@ -0,0 +1,89 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.filesets_api import FilesetsApi # noqa: E501
+
+
+class TestFilesetsApi(unittest.TestCase):
+ """FilesetsApi unit test stubs"""
+
+ def setUp(self):
+ self.api = FilesetsApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_create_fileset(self):
+ """Test case for create_fileset
+
+ """
+ pass
+
+ def test_create_fileset_auto_batch(self):
+ """Test case for create_fileset_auto_batch
+
+ """
+ pass
+
+ def test_delete_fileset(self):
+ """Test case for delete_fileset
+
+ """
+ pass
+
+ def test_delete_fileset_edit(self):
+ """Test case for delete_fileset_edit
+
+ """
+ pass
+
+ def test_get_fileset(self):
+ """Test case for get_fileset
+
+ """
+ pass
+
+ def test_get_fileset_edit(self):
+ """Test case for get_fileset_edit
+
+ """
+ pass
+
+ def test_get_fileset_history(self):
+ """Test case for get_fileset_history
+
+ """
+ pass
+
+ def test_get_fileset_redirects(self):
+ """Test case for get_fileset_redirects
+
+ """
+ pass
+
+ def test_get_fileset_revision(self):
+ """Test case for get_fileset_revision
+
+ """
+ pass
+
+ def test_update_fileset(self):
+ """Test case for update_fileset
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_release_abstract.py b/python_openapi_client/tests/codegen/test_release_abstract.py
index 207c1352..8f5fa599 100644
--- a/python_openapi_client/tests/codegen/test_release_abstract.py
+++ b/python_openapi_client/tests/codegen/test_release_abstract.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.release_abstract import ReleaseAbstract # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.release_abstract import ReleaseAbstract
class TestReleaseAbstract(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestReleaseAbstract(unittest.TestCase):
def testReleaseAbstract(self):
"""Test ReleaseAbstract"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.release_abstract.ReleaseAbstract() # noqa: E501
+ # model = ReleaseAbstract() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_release_auto_batch.py b/python_openapi_client/tests/codegen/test_release_auto_batch.py
index fdac201e..fd20d2ed 100644
--- a/python_openapi_client/tests/codegen/test_release_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_release_auto_batch.py
@@ -1,23 +1,23 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.release_auto_batch import ReleaseAutoBatch # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editgroup import Editgroup
+from fatcat_openapi_client.model.release_entity import ReleaseEntity
+globals()['Editgroup'] = Editgroup
+globals()['ReleaseEntity'] = ReleaseEntity
+from fatcat_openapi_client.model.release_auto_batch import ReleaseAutoBatch
class TestReleaseAutoBatch(unittest.TestCase):
@@ -32,7 +32,7 @@ class TestReleaseAutoBatch(unittest.TestCase):
def testReleaseAutoBatch(self):
"""Test ReleaseAutoBatch"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.release_auto_batch.ReleaseAutoBatch() # noqa: E501
+ # model = ReleaseAutoBatch() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_release_contrib.py b/python_openapi_client/tests/codegen/test_release_contrib.py
index d05676d1..700141fb 100644
--- a/python_openapi_client/tests/codegen/test_release_contrib.py
+++ b/python_openapi_client/tests/codegen/test_release_contrib.py
@@ -1,23 +1,21 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.release_contrib import ReleaseContrib # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.creator_entity import CreatorEntity
+globals()['CreatorEntity'] = CreatorEntity
+from fatcat_openapi_client.model.release_contrib import ReleaseContrib
class TestReleaseContrib(unittest.TestCase):
@@ -32,7 +30,7 @@ class TestReleaseContrib(unittest.TestCase):
def testReleaseContrib(self):
"""Test ReleaseContrib"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.release_contrib.ReleaseContrib() # noqa: E501
+ # model = ReleaseContrib() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_release_entity.py b/python_openapi_client/tests/codegen/test_release_entity.py
index 5f9a90f5..00ebc496 100644
--- a/python_openapi_client/tests/codegen/test_release_entity.py
+++ b/python_openapi_client/tests/codegen/test_release_entity.py
@@ -1,23 +1,35 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.release_entity import ReleaseEntity # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.container_entity import ContainerEntity
+from fatcat_openapi_client.model.file_entity import FileEntity
+from fatcat_openapi_client.model.fileset_entity import FilesetEntity
+from fatcat_openapi_client.model.release_abstract import ReleaseAbstract
+from fatcat_openapi_client.model.release_contrib import ReleaseContrib
+from fatcat_openapi_client.model.release_ext_ids import ReleaseExtIds
+from fatcat_openapi_client.model.release_ref import ReleaseRef
+from fatcat_openapi_client.model.webcapture_entity import WebcaptureEntity
+globals()['ContainerEntity'] = ContainerEntity
+globals()['FileEntity'] = FileEntity
+globals()['FilesetEntity'] = FilesetEntity
+globals()['ReleaseAbstract'] = ReleaseAbstract
+globals()['ReleaseContrib'] = ReleaseContrib
+globals()['ReleaseExtIds'] = ReleaseExtIds
+globals()['ReleaseRef'] = ReleaseRef
+globals()['WebcaptureEntity'] = WebcaptureEntity
+from fatcat_openapi_client.model.release_entity import ReleaseEntity
class TestReleaseEntity(unittest.TestCase):
@@ -32,7 +44,7 @@ class TestReleaseEntity(unittest.TestCase):
def testReleaseEntity(self):
"""Test ReleaseEntity"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.release_entity.ReleaseEntity() # noqa: E501
+ # model = ReleaseEntity() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_release_ext_ids.py b/python_openapi_client/tests/codegen/test_release_ext_ids.py
index f79d03bc..e8488510 100644
--- a/python_openapi_client/tests/codegen/test_release_ext_ids.py
+++ b/python_openapi_client/tests/codegen/test_release_ext_ids.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.release_ext_ids import ReleaseExtIds # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.release_ext_ids import ReleaseExtIds
class TestReleaseExtIds(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestReleaseExtIds(unittest.TestCase):
def testReleaseExtIds(self):
"""Test ReleaseExtIds"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.release_ext_ids.ReleaseExtIds() # noqa: E501
+ # model = ReleaseExtIds() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_release_ref.py b/python_openapi_client/tests/codegen/test_release_ref.py
index 4737a66b..d3803af0 100644
--- a/python_openapi_client/tests/codegen/test_release_ref.py
+++ b/python_openapi_client/tests/codegen/test_release_ref.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.release_ref import ReleaseRef # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.release_ref import ReleaseRef
class TestReleaseRef(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestReleaseRef(unittest.TestCase):
def testReleaseRef(self):
"""Test ReleaseRef"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.release_ref.ReleaseRef() # noqa: E501
+ # model = ReleaseRef() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_releases_api.py b/python_openapi_client/tests/codegen/test_releases_api.py
new file mode 100644
index 00000000..5f61f38f
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_releases_api.py
@@ -0,0 +1,113 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.releases_api import ReleasesApi # noqa: E501
+
+
+class TestReleasesApi(unittest.TestCase):
+ """ReleasesApi unit test stubs"""
+
+ def setUp(self):
+ self.api = ReleasesApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_create_release(self):
+ """Test case for create_release
+
+ """
+ pass
+
+ def test_create_release_auto_batch(self):
+ """Test case for create_release_auto_batch
+
+ """
+ pass
+
+ def test_delete_release(self):
+ """Test case for delete_release
+
+ """
+ pass
+
+ def test_delete_release_edit(self):
+ """Test case for delete_release_edit
+
+ """
+ pass
+
+ def test_get_release(self):
+ """Test case for get_release
+
+ """
+ pass
+
+ def test_get_release_edit(self):
+ """Test case for get_release_edit
+
+ """
+ pass
+
+ def test_get_release_files(self):
+ """Test case for get_release_files
+
+ """
+ pass
+
+ def test_get_release_filesets(self):
+ """Test case for get_release_filesets
+
+ """
+ pass
+
+ def test_get_release_history(self):
+ """Test case for get_release_history
+
+ """
+ pass
+
+ def test_get_release_redirects(self):
+ """Test case for get_release_redirects
+
+ """
+ pass
+
+ def test_get_release_revision(self):
+ """Test case for get_release_revision
+
+ """
+ pass
+
+ def test_get_release_webcaptures(self):
+ """Test case for get_release_webcaptures
+
+ """
+ pass
+
+ def test_lookup_release(self):
+ """Test case for lookup_release
+
+ """
+ pass
+
+ def test_update_release(self):
+ """Test case for update_release
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_success.py b/python_openapi_client/tests/codegen/test_success.py
index 11ca8cc0..8ba649af 100644
--- a/python_openapi_client/tests/codegen/test_success.py
+++ b/python_openapi_client/tests/codegen/test_success.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.success import Success # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.success import Success
class TestSuccess(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestSuccess(unittest.TestCase):
def testSuccess(self):
"""Test Success"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.success.Success() # noqa: E501
+ # model = Success() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_webcapture_auto_batch.py b/python_openapi_client/tests/codegen/test_webcapture_auto_batch.py
index bf79de31..e09b8097 100644
--- a/python_openapi_client/tests/codegen/test_webcapture_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_webcapture_auto_batch.py
@@ -1,23 +1,23 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.webcapture_auto_batch import WebcaptureAutoBatch # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editgroup import Editgroup
+from fatcat_openapi_client.model.webcapture_entity import WebcaptureEntity
+globals()['Editgroup'] = Editgroup
+globals()['WebcaptureEntity'] = WebcaptureEntity
+from fatcat_openapi_client.model.webcapture_auto_batch import WebcaptureAutoBatch
class TestWebcaptureAutoBatch(unittest.TestCase):
@@ -32,7 +32,7 @@ class TestWebcaptureAutoBatch(unittest.TestCase):
def testWebcaptureAutoBatch(self):
"""Test WebcaptureAutoBatch"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.webcapture_auto_batch.WebcaptureAutoBatch() # noqa: E501
+ # model = WebcaptureAutoBatch() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_webcapture_cdx_line.py b/python_openapi_client/tests/codegen/test_webcapture_cdx_line.py
index 91626e9d..6b27c4b0 100644
--- a/python_openapi_client/tests/codegen/test_webcapture_cdx_line.py
+++ b/python_openapi_client/tests/codegen/test_webcapture_cdx_line.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.webcapture_cdx_line import WebcaptureCdxLine # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.webcapture_cdx_line import WebcaptureCdxLine
class TestWebcaptureCdxLine(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestWebcaptureCdxLine(unittest.TestCase):
def testWebcaptureCdxLine(self):
"""Test WebcaptureCdxLine"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.webcapture_cdx_line.WebcaptureCdxLine() # noqa: E501
+ # model = WebcaptureCdxLine() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_webcapture_entity.py b/python_openapi_client/tests/codegen/test_webcapture_entity.py
index f3bdc98c..703288e4 100644
--- a/python_openapi_client/tests/codegen/test_webcapture_entity.py
+++ b/python_openapi_client/tests/codegen/test_webcapture_entity.py
@@ -1,23 +1,25 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.webcapture_entity import WebcaptureEntity # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.release_entity import ReleaseEntity
+from fatcat_openapi_client.model.webcapture_cdx_line import WebcaptureCdxLine
+from fatcat_openapi_client.model.webcapture_url import WebcaptureUrl
+globals()['ReleaseEntity'] = ReleaseEntity
+globals()['WebcaptureCdxLine'] = WebcaptureCdxLine
+globals()['WebcaptureUrl'] = WebcaptureUrl
+from fatcat_openapi_client.model.webcapture_entity import WebcaptureEntity
class TestWebcaptureEntity(unittest.TestCase):
@@ -32,7 +34,7 @@ class TestWebcaptureEntity(unittest.TestCase):
def testWebcaptureEntity(self):
"""Test WebcaptureEntity"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.webcapture_entity.WebcaptureEntity() # noqa: E501
+ # model = WebcaptureEntity() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_webcapture_url.py b/python_openapi_client/tests/codegen/test_webcapture_url.py
index 96c50ce1..18c45fb7 100644
--- a/python_openapi_client/tests/codegen/test_webcapture_url.py
+++ b/python_openapi_client/tests/codegen/test_webcapture_url.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.webcapture_url import WebcaptureUrl # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.webcapture_url import WebcaptureUrl
class TestWebcaptureUrl(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestWebcaptureUrl(unittest.TestCase):
def testWebcaptureUrl(self):
"""Test WebcaptureUrl"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.webcapture_url.WebcaptureUrl() # noqa: E501
+ # model = WebcaptureUrl() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_webcaptures_api.py b/python_openapi_client/tests/codegen/test_webcaptures_api.py
new file mode 100644
index 00000000..0b2fd6b7
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_webcaptures_api.py
@@ -0,0 +1,89 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.webcaptures_api import WebcapturesApi # noqa: E501
+
+
+class TestWebcapturesApi(unittest.TestCase):
+ """WebcapturesApi unit test stubs"""
+
+ def setUp(self):
+ self.api = WebcapturesApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_create_webcapture(self):
+ """Test case for create_webcapture
+
+ """
+ pass
+
+ def test_create_webcapture_auto_batch(self):
+ """Test case for create_webcapture_auto_batch
+
+ """
+ pass
+
+ def test_delete_webcapture(self):
+ """Test case for delete_webcapture
+
+ """
+ pass
+
+ def test_delete_webcapture_edit(self):
+ """Test case for delete_webcapture_edit
+
+ """
+ pass
+
+ def test_get_webcapture(self):
+ """Test case for get_webcapture
+
+ """
+ pass
+
+ def test_get_webcapture_edit(self):
+ """Test case for get_webcapture_edit
+
+ """
+ pass
+
+ def test_get_webcapture_history(self):
+ """Test case for get_webcapture_history
+
+ """
+ pass
+
+ def test_get_webcapture_redirects(self):
+ """Test case for get_webcapture_redirects
+
+ """
+ pass
+
+ def test_get_webcapture_revision(self):
+ """Test case for get_webcapture_revision
+
+ """
+ pass
+
+ def test_update_webcapture(self):
+ """Test case for update_webcapture
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_work_auto_batch.py b/python_openapi_client/tests/codegen/test_work_auto_batch.py
index 7d0bbf12..1b1bc485 100644
--- a/python_openapi_client/tests/codegen/test_work_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_work_auto_batch.py
@@ -1,23 +1,23 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.work_auto_batch import WorkAutoBatch # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.editgroup import Editgroup
+from fatcat_openapi_client.model.work_entity import WorkEntity
+globals()['Editgroup'] = Editgroup
+globals()['WorkEntity'] = WorkEntity
+from fatcat_openapi_client.model.work_auto_batch import WorkAutoBatch
class TestWorkAutoBatch(unittest.TestCase):
@@ -32,7 +32,7 @@ class TestWorkAutoBatch(unittest.TestCase):
def testWorkAutoBatch(self):
"""Test WorkAutoBatch"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.work_auto_batch.WorkAutoBatch() # noqa: E501
+ # model = WorkAutoBatch() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_work_entity.py b/python_openapi_client/tests/codegen/test_work_entity.py
index ccabb55f..2d6ef8b2 100644
--- a/python_openapi_client/tests/codegen/test_work_entity.py
+++ b/python_openapi_client/tests/codegen/test_work_entity.py
@@ -1,23 +1,19 @@
-# coding: utf-8
-
"""
fatcat
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- The version of the OpenAPI document: 0.3.1
+ The version of the OpenAPI document: 0.5.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
-from __future__ import absolute_import
-
+import sys
import unittest
import fatcat_openapi_client
-from fatcat_openapi_client.models.work_entity import WorkEntity # noqa: E501
-from fatcat_openapi_client.rest import ApiException
+from fatcat_openapi_client.model.work_entity import WorkEntity
class TestWorkEntity(unittest.TestCase):
@@ -32,7 +28,7 @@ class TestWorkEntity(unittest.TestCase):
def testWorkEntity(self):
"""Test WorkEntity"""
# FIXME: construct object with mandatory attributes with example values
- # model = fatcat_openapi_client.models.work_entity.WorkEntity() # noqa: E501
+ # model = WorkEntity() # noqa: E501
pass
diff --git a/python_openapi_client/tests/codegen/test_works_api.py b/python_openapi_client/tests/codegen/test_works_api.py
new file mode 100644
index 00000000..c2096bc5
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_works_api.py
@@ -0,0 +1,95 @@
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ The version of the OpenAPI document: 0.5.0
+ Contact: webservices@archive.org
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.api.works_api import WorksApi # noqa: E501
+
+
+class TestWorksApi(unittest.TestCase):
+ """WorksApi unit test stubs"""
+
+ def setUp(self):
+ self.api = WorksApi() # noqa: E501
+
+ def tearDown(self):
+ pass
+
+ def test_create_work(self):
+ """Test case for create_work
+
+ """
+ pass
+
+ def test_create_work_auto_batch(self):
+ """Test case for create_work_auto_batch
+
+ """
+ pass
+
+ def test_delete_work(self):
+ """Test case for delete_work
+
+ """
+ pass
+
+ def test_delete_work_edit(self):
+ """Test case for delete_work_edit
+
+ """
+ pass
+
+ def test_get_work(self):
+ """Test case for get_work
+
+ """
+ pass
+
+ def test_get_work_edit(self):
+ """Test case for get_work_edit
+
+ """
+ pass
+
+ def test_get_work_history(self):
+ """Test case for get_work_history
+
+ """
+ pass
+
+ def test_get_work_redirects(self):
+ """Test case for get_work_redirects
+
+ """
+ pass
+
+ def test_get_work_releases(self):
+ """Test case for get_work_releases
+
+ """
+ pass
+
+ def test_get_work_revision(self):
+ """Test case for get_work_revision
+
+ """
+ pass
+
+ def test_update_work(self):
+ """Test case for update_work
+
+ """
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()