summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/Pipfile1
-rw-r--r--python/Pipfile.lock6
-rw-r--r--python_client/.gitignore9
-rw-r--r--python_client/README.md (renamed from python_client/fatcat_client/README.md)0
-rwxr-xr-xpython_client/codegen_python_client.sh9
-rw-r--r--python_client/conftest.py8
-rw-r--r--python_client/pytest.ini10
-rw-r--r--python_client/setup.py4
-rw-r--r--python_client/tests/codegen/__init__.py0
-rw-r--r--python_client/tests/codegen/test_auth_oidc.py40
-rw-r--r--python_client/tests/codegen/test_auth_oidc_result.py40
-rw-r--r--python_client/tests/codegen/test_changelog_entry.py40
-rw-r--r--python_client/tests/codegen/test_container_entity.py40
-rw-r--r--python_client/tests/codegen/test_creator_entity.py40
-rw-r--r--python_client/tests/codegen/test_default_api.py568
-rw-r--r--python_client/tests/codegen/test_editgroup.py40
-rw-r--r--python_client/tests/codegen/test_editgroup_edits.py40
-rw-r--r--python_client/tests/codegen/test_editor.py40
-rw-r--r--python_client/tests/codegen/test_entity_edit.py40
-rw-r--r--python_client/tests/codegen/test_entity_history_entry.py40
-rw-r--r--python_client/tests/codegen/test_error_response.py40
-rw-r--r--python_client/tests/codegen/test_file_entity.py40
-rw-r--r--python_client/tests/codegen/test_file_entity_urls.py40
-rw-r--r--python_client/tests/codegen/test_fileset_entity.py40
-rw-r--r--python_client/tests/codegen/test_fileset_entity_manifest.py40
-rw-r--r--python_client/tests/codegen/test_release_contrib.py40
-rw-r--r--python_client/tests/codegen/test_release_entity.py40
-rw-r--r--python_client/tests/codegen/test_release_entity_abstracts.py40
-rw-r--r--python_client/tests/codegen/test_release_ref.py40
-rw-r--r--python_client/tests/codegen/test_success.py40
-rw-r--r--python_client/tests/codegen/test_webcapture_entity.py40
-rw-r--r--python_client/tests/codegen/test_webcapture_entity_archive_urls.py40
-rw-r--r--python_client/tests/codegen/test_webcapture_entity_cdx.py40
-rw-r--r--python_client/tests/codegen/test_work_entity.py40
34 files changed, 1569 insertions, 6 deletions
diff --git a/python/Pipfile b/python/Pipfile
index fbb197a2..eebdab36 100644
--- a/python/Pipfile
+++ b/python/Pipfile
@@ -18,6 +18,7 @@ pylint = "*"
pg-view = "*"
[packages]
+fatcat_client = { path = "./../python_client", editable = true }
python-dotenv = "*"
Flask = ">=1"
flask-uuid = "*"
diff --git a/python/Pipfile.lock b/python/Pipfile.lock
index 81232f0a..296079f0 100644
--- a/python/Pipfile.lock
+++ b/python/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256": "e330c4f12e19ee154c6de6e10a7b1349a2dd019e5483d2a7700fb542ad1477f1"
+ "sha256": "c3deb49cf4c122c2aed3f4f944e9763cfcf40c85891ca3d3e9cabc3debbb9075"
},
"pipfile-spec": 6,
"requires": {
@@ -118,6 +118,10 @@
],
"version": "==2.4.2"
},
+ "fatcat-client": {
+ "editable": true,
+ "path": "./../python_client"
+ },
"flask": {
"hashes": [
"sha256:2271c0070dbcb5275fad4a82e29f23ab92682dc45f9dfbc22c02ba9b9322ce48",
diff --git a/python_client/.gitignore b/python_client/.gitignore
new file mode 100644
index 00000000..a0bc258b
--- /dev/null
+++ b/python_client/.gitignore
@@ -0,0 +1,9 @@
+.env
+codegen-out/
+build/
+dist/
+*.egg-info
+*.json.gz
+!.coveragerc
+!.pylintrc
+!.gitignore
diff --git a/python_client/fatcat_client/README.md b/python_client/README.md
index 8704641e..8704641e 100644
--- a/python_client/fatcat_client/README.md
+++ b/python_client/README.md
diff --git a/python_client/codegen_python_client.sh b/python_client/codegen_python_client.sh
index 85d12dc4..5ab0ff92 100755
--- a/python_client/codegen_python_client.sh
+++ b/python_client/codegen_python_client.sh
@@ -22,9 +22,12 @@ docker run \
sudo chown -R `whoami`:`whoami` $OUTPUT
mkdir -p fatcat_client
-mkdir -p tests/codegen_tests
cp -r $OUTPUT/fatcat_client/* fatcat_client
-cp -r $OUTPUT/test/* tests/codegen_tests
-cp $OUTPUT/README.md fatcat_client/README.md
+cp $OUTPUT/README.md README.md
+
+# these tests are basically no-ops
+mkdir -p tests/codegen
+cp -r $OUTPUT/test/* tests/codegen
+
# ooo, this makes me nervous
rm -rf $OUTPUT
diff --git a/python_client/conftest.py b/python_client/conftest.py
new file mode 100644
index 00000000..c2a31562
--- /dev/null
+++ b/python_client/conftest.py
@@ -0,0 +1,8 @@
+"""
+This file exists soley to prevent pytest from trying to import/test the
+fatcat_client ./setup.py file.
+"""
+
+import sys
+
+collect_ignore = ["setup.py"]
diff --git a/python_client/pytest.ini b/python_client/pytest.ini
new file mode 100644
index 00000000..98060611
--- /dev/null
+++ b/python_client/pytest.ini
@@ -0,0 +1,10 @@
+
+[pytest]
+
+ignore = setup.py
+
+# allow imports from files in current directory
+python_paths = fatcat_client, tests
+
+# search for 'test_*' functions in all python files, not just under tests
+python_files = *.py
diff --git a/python_client/setup.py b/python_client/setup.py
index 00425b4a..107f3f5b 100644
--- a/python_client/setup.py
+++ b/python_client/setup.py
@@ -47,7 +47,7 @@ here = os.path.abspath(os.path.dirname(__file__))
# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
try:
- with io.open(os.path.join(here, 'fatcat_client/README.md'), encoding='utf-8') as f:
+ with io.open(os.path.join(here, './README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
@@ -110,7 +110,7 @@ setup(
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
- packages=find_packages(exclude=('tests','fatcat_tools','fatcat_web')),
+ packages=find_packages(exclude=('tests')),
# If your package is a single module, use this instead of 'packages':
#py_modules=['fatcat_client'],
# entry_points={
diff --git a/python_client/tests/codegen/__init__.py b/python_client/tests/codegen/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/python_client/tests/codegen/__init__.py
diff --git a/python_client/tests/codegen/test_auth_oidc.py b/python_client/tests/codegen/test_auth_oidc.py
new file mode 100644
index 00000000..f799da55
--- /dev/null
+++ b/python_client/tests/codegen/test_auth_oidc.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.auth_oidc import AuthOidc # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestAuthOidc(unittest.TestCase):
+ """AuthOidc unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testAuthOidc(self):
+ """Test AuthOidc"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.auth_oidc.AuthOidc() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_auth_oidc_result.py b/python_client/tests/codegen/test_auth_oidc_result.py
new file mode 100644
index 00000000..d99ef446
--- /dev/null
+++ b/python_client/tests/codegen/test_auth_oidc_result.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.auth_oidc_result import AuthOidcResult # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestAuthOidcResult(unittest.TestCase):
+ """AuthOidcResult unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testAuthOidcResult(self):
+ """Test AuthOidcResult"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.auth_oidc_result.AuthOidcResult() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_changelog_entry.py b/python_client/tests/codegen/test_changelog_entry.py
new file mode 100644
index 00000000..a8401891
--- /dev/null
+++ b/python_client/tests/codegen/test_changelog_entry.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.changelog_entry import ChangelogEntry # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestChangelogEntry(unittest.TestCase):
+ """ChangelogEntry unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testChangelogEntry(self):
+ """Test ChangelogEntry"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.changelog_entry.ChangelogEntry() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_container_entity.py b/python_client/tests/codegen/test_container_entity.py
new file mode 100644
index 00000000..0bafb7dd
--- /dev/null
+++ b/python_client/tests/codegen/test_container_entity.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.container_entity import ContainerEntity # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestContainerEntity(unittest.TestCase):
+ """ContainerEntity unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testContainerEntity(self):
+ """Test ContainerEntity"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.container_entity.ContainerEntity() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_creator_entity.py b/python_client/tests/codegen/test_creator_entity.py
new file mode 100644
index 00000000..b235b640
--- /dev/null
+++ b/python_client/tests/codegen/test_creator_entity.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.creator_entity import CreatorEntity # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestCreatorEntity(unittest.TestCase):
+ """CreatorEntity unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testCreatorEntity(self):
+ """Test CreatorEntity"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.creator_entity.CreatorEntity() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_default_api.py b/python_client/tests/codegen/test_default_api.py
new file mode 100644
index 00000000..9a632824
--- /dev/null
+++ b/python_client/tests/codegen/test_default_api.py
@@ -0,0 +1,568 @@
+# 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_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_container(self):
+ """Test case for create_container
+
+ """
+ pass
+
+ def test_create_container_batch(self):
+ """Test case for create_container_batch
+
+ """
+ pass
+
+ def test_create_creator(self):
+ """Test case for create_creator
+
+ """
+ pass
+
+ def test_create_creator_batch(self):
+ """Test case for create_creator_batch
+
+ """
+ pass
+
+ def test_create_editgroup(self):
+ """Test case for create_editgroup
+
+ """
+ pass
+
+ def test_create_file(self):
+ """Test case for create_file
+
+ """
+ pass
+
+ def test_create_file_batch(self):
+ """Test case for create_file_batch
+
+ """
+ pass
+
+ def test_create_fileset(self):
+ """Test case for create_fileset
+
+ """
+ pass
+
+ def test_create_fileset_batch(self):
+ """Test case for create_fileset_batch
+
+ """
+ pass
+
+ def test_create_release(self):
+ """Test case for create_release
+
+ """
+ pass
+
+ def test_create_release_batch(self):
+ """Test case for create_release_batch
+
+ """
+ pass
+
+ def test_create_webcapture(self):
+ """Test case for create_webcapture
+
+ """
+ pass
+
+ def test_create_webcapture_batch(self):
+ """Test case for create_webcapture_batch
+
+ """
+ pass
+
+ def test_create_work(self):
+ """Test case for create_work
+
+ """
+ pass
+
+ def test_create_work_batch(self):
+ """Test case for create_work_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_editor(self):
+ """Test case for get_editor
+
+ """
+ pass
+
+ def test_get_editor_changelog(self):
+ """Test case for get_editor_changelog
+
+ """
+ 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_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_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_client/tests/codegen/test_editgroup.py b/python_client/tests/codegen/test_editgroup.py
new file mode 100644
index 00000000..e770fd54
--- /dev/null
+++ b/python_client/tests/codegen/test_editgroup.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.editgroup import Editgroup # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestEditgroup(unittest.TestCase):
+ """Editgroup unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testEditgroup(self):
+ """Test Editgroup"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.editgroup.Editgroup() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_editgroup_edits.py b/python_client/tests/codegen/test_editgroup_edits.py
new file mode 100644
index 00000000..38c3c814
--- /dev/null
+++ b/python_client/tests/codegen/test_editgroup_edits.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.editgroup_edits import EditgroupEdits # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestEditgroupEdits(unittest.TestCase):
+ """EditgroupEdits unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testEditgroupEdits(self):
+ """Test EditgroupEdits"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.editgroup_edits.EditgroupEdits() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_editor.py b/python_client/tests/codegen/test_editor.py
new file mode 100644
index 00000000..00ca625e
--- /dev/null
+++ b/python_client/tests/codegen/test_editor.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.editor import Editor # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestEditor(unittest.TestCase):
+ """Editor unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testEditor(self):
+ """Test Editor"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.editor.Editor() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_entity_edit.py b/python_client/tests/codegen/test_entity_edit.py
new file mode 100644
index 00000000..2f0f7ac3
--- /dev/null
+++ b/python_client/tests/codegen/test_entity_edit.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.entity_edit import EntityEdit # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestEntityEdit(unittest.TestCase):
+ """EntityEdit unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testEntityEdit(self):
+ """Test EntityEdit"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.entity_edit.EntityEdit() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_entity_history_entry.py b/python_client/tests/codegen/test_entity_history_entry.py
new file mode 100644
index 00000000..4c27c80f
--- /dev/null
+++ b/python_client/tests/codegen/test_entity_history_entry.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.entity_history_entry import EntityHistoryEntry # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestEntityHistoryEntry(unittest.TestCase):
+ """EntityHistoryEntry unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testEntityHistoryEntry(self):
+ """Test EntityHistoryEntry"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.entity_history_entry.EntityHistoryEntry() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_error_response.py b/python_client/tests/codegen/test_error_response.py
new file mode 100644
index 00000000..f0d09ee8
--- /dev/null
+++ b/python_client/tests/codegen/test_error_response.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.error_response import ErrorResponse # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestErrorResponse(unittest.TestCase):
+ """ErrorResponse unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testErrorResponse(self):
+ """Test ErrorResponse"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.error_response.ErrorResponse() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_file_entity.py b/python_client/tests/codegen/test_file_entity.py
new file mode 100644
index 00000000..f5806f9b
--- /dev/null
+++ b/python_client/tests/codegen/test_file_entity.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.file_entity import FileEntity # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestFileEntity(unittest.TestCase):
+ """FileEntity unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testFileEntity(self):
+ """Test FileEntity"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.file_entity.FileEntity() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_file_entity_urls.py b/python_client/tests/codegen/test_file_entity_urls.py
new file mode 100644
index 00000000..9261f54c
--- /dev/null
+++ b/python_client/tests/codegen/test_file_entity_urls.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.file_entity_urls import FileEntityUrls # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestFileEntityUrls(unittest.TestCase):
+ """FileEntityUrls unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testFileEntityUrls(self):
+ """Test FileEntityUrls"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.file_entity_urls.FileEntityUrls() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_fileset_entity.py b/python_client/tests/codegen/test_fileset_entity.py
new file mode 100644
index 00000000..c8337f4c
--- /dev/null
+++ b/python_client/tests/codegen/test_fileset_entity.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.fileset_entity import FilesetEntity # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestFilesetEntity(unittest.TestCase):
+ """FilesetEntity unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testFilesetEntity(self):
+ """Test FilesetEntity"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.fileset_entity.FilesetEntity() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_fileset_entity_manifest.py b/python_client/tests/codegen/test_fileset_entity_manifest.py
new file mode 100644
index 00000000..b6b9e201
--- /dev/null
+++ b/python_client/tests/codegen/test_fileset_entity_manifest.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.fileset_entity_manifest import FilesetEntityManifest # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestFilesetEntityManifest(unittest.TestCase):
+ """FilesetEntityManifest unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testFilesetEntityManifest(self):
+ """Test FilesetEntityManifest"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.fileset_entity_manifest.FilesetEntityManifest() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_release_contrib.py b/python_client/tests/codegen/test_release_contrib.py
new file mode 100644
index 00000000..9a61ef89
--- /dev/null
+++ b/python_client/tests/codegen/test_release_contrib.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.release_contrib import ReleaseContrib # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestReleaseContrib(unittest.TestCase):
+ """ReleaseContrib unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testReleaseContrib(self):
+ """Test ReleaseContrib"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.release_contrib.ReleaseContrib() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_release_entity.py b/python_client/tests/codegen/test_release_entity.py
new file mode 100644
index 00000000..9a1f0e97
--- /dev/null
+++ b/python_client/tests/codegen/test_release_entity.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.release_entity import ReleaseEntity # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestReleaseEntity(unittest.TestCase):
+ """ReleaseEntity unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testReleaseEntity(self):
+ """Test ReleaseEntity"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.release_entity.ReleaseEntity() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_release_entity_abstracts.py b/python_client/tests/codegen/test_release_entity_abstracts.py
new file mode 100644
index 00000000..c6c518c3
--- /dev/null
+++ b/python_client/tests/codegen/test_release_entity_abstracts.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.release_entity_abstracts import ReleaseEntityAbstracts # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestReleaseEntityAbstracts(unittest.TestCase):
+ """ReleaseEntityAbstracts unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testReleaseEntityAbstracts(self):
+ """Test ReleaseEntityAbstracts"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.release_entity_abstracts.ReleaseEntityAbstracts() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_release_ref.py b/python_client/tests/codegen/test_release_ref.py
new file mode 100644
index 00000000..cafb6700
--- /dev/null
+++ b/python_client/tests/codegen/test_release_ref.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.release_ref import ReleaseRef # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestReleaseRef(unittest.TestCase):
+ """ReleaseRef unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testReleaseRef(self):
+ """Test ReleaseRef"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.release_ref.ReleaseRef() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_success.py b/python_client/tests/codegen/test_success.py
new file mode 100644
index 00000000..28d855fb
--- /dev/null
+++ b/python_client/tests/codegen/test_success.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.success import Success # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestSuccess(unittest.TestCase):
+ """Success unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testSuccess(self):
+ """Test Success"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.success.Success() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_webcapture_entity.py b/python_client/tests/codegen/test_webcapture_entity.py
new file mode 100644
index 00000000..b58eaf7b
--- /dev/null
+++ b/python_client/tests/codegen/test_webcapture_entity.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.webcapture_entity import WebcaptureEntity # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestWebcaptureEntity(unittest.TestCase):
+ """WebcaptureEntity unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testWebcaptureEntity(self):
+ """Test WebcaptureEntity"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.webcapture_entity.WebcaptureEntity() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_webcapture_entity_archive_urls.py b/python_client/tests/codegen/test_webcapture_entity_archive_urls.py
new file mode 100644
index 00000000..3a9c10fd
--- /dev/null
+++ b/python_client/tests/codegen/test_webcapture_entity_archive_urls.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.webcapture_entity_archive_urls import WebcaptureEntityArchiveUrls # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestWebcaptureEntityArchiveUrls(unittest.TestCase):
+ """WebcaptureEntityArchiveUrls unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testWebcaptureEntityArchiveUrls(self):
+ """Test WebcaptureEntityArchiveUrls"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.webcapture_entity_archive_urls.WebcaptureEntityArchiveUrls() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_webcapture_entity_cdx.py b/python_client/tests/codegen/test_webcapture_entity_cdx.py
new file mode 100644
index 00000000..c4c2dd17
--- /dev/null
+++ b/python_client/tests/codegen/test_webcapture_entity_cdx.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.webcapture_entity_cdx import WebcaptureEntityCdx # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestWebcaptureEntityCdx(unittest.TestCase):
+ """WebcaptureEntityCdx unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testWebcaptureEntityCdx(self):
+ """Test WebcaptureEntityCdx"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.webcapture_entity_cdx.WebcaptureEntityCdx() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_client/tests/codegen/test_work_entity.py b/python_client/tests/codegen/test_work_entity.py
new file mode 100644
index 00000000..57b0cdad
--- /dev/null
+++ b/python_client/tests/codegen/test_work_entity.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+
+ OpenAPI spec version: 0.1.0
+
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_client
+from fatcat_client.models.work_entity import WorkEntity # noqa: E501
+from fatcat_client.rest import ApiException
+
+
+class TestWorkEntity(unittest.TestCase):
+ """WorkEntity unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testWorkEntity(self):
+ """Test WorkEntity"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_client.models.work_entity.WorkEntity() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()