aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-26 18:18:30 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-26 18:18:30 -0800
commita8a22fabf26c23fbd7e9bae28b99d9bf17b98cbe (patch)
treeab1b5cc37a6ff6bc1824a3881b0156c297733f94 /python/tests
parent9555367d693ccb894eb8960c98507315e581f60a (diff)
downloadfatcat-a8a22fabf26c23fbd7e9bae28b99d9bf17b98cbe.tar.gz
fatcat-a8a22fabf26c23fbd7e9bae28b99d9bf17b98cbe.zip
python codegren for fileset/web
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/codegen_tests/test_default_api.py132
-rw-r--r--python/tests/codegen_tests/test_fileset_entity.py40
-rw-r--r--python/tests/codegen_tests/test_fileset_entity_manifest.py40
-rw-r--r--python/tests/codegen_tests/test_webcapture_entity.py40
-rw-r--r--python/tests/codegen_tests/test_webcapture_entity_archive_urls.py40
-rw-r--r--python/tests/codegen_tests/test_webcapture_entity_cdx.py40
6 files changed, 332 insertions, 0 deletions
diff --git a/python/tests/codegen_tests/test_default_api.py b/python/tests/codegen_tests/test_default_api.py
index 8942490b..ebc66cda 100644
--- a/python/tests/codegen_tests/test_default_api.py
+++ b/python/tests/codegen_tests/test_default_api.py
@@ -77,6 +77,18 @@ class TestDefaultApi(unittest.TestCase):
"""
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
@@ -89,6 +101,18 @@ class TestDefaultApi(unittest.TestCase):
"""
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
@@ -137,6 +161,18 @@ class TestDefaultApi(unittest.TestCase):
"""
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
@@ -149,6 +185,18 @@ class TestDefaultApi(unittest.TestCase):
"""
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
@@ -287,6 +335,36 @@ class TestDefaultApi(unittest.TestCase):
"""
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
@@ -305,6 +383,12 @@ class TestDefaultApi(unittest.TestCase):
"""
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
@@ -323,6 +407,42 @@ class TestDefaultApi(unittest.TestCase):
"""
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
@@ -401,12 +521,24 @@ class TestDefaultApi(unittest.TestCase):
"""
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
diff --git a/python/tests/codegen_tests/test_fileset_entity.py b/python/tests/codegen_tests/test_fileset_entity.py
new file mode 100644
index 00000000..c8337f4c
--- /dev/null
+++ b/python/tests/codegen_tests/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/tests/codegen_tests/test_fileset_entity_manifest.py b/python/tests/codegen_tests/test_fileset_entity_manifest.py
new file mode 100644
index 00000000..b6b9e201
--- /dev/null
+++ b/python/tests/codegen_tests/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/tests/codegen_tests/test_webcapture_entity.py b/python/tests/codegen_tests/test_webcapture_entity.py
new file mode 100644
index 00000000..b58eaf7b
--- /dev/null
+++ b/python/tests/codegen_tests/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/tests/codegen_tests/test_webcapture_entity_archive_urls.py b/python/tests/codegen_tests/test_webcapture_entity_archive_urls.py
new file mode 100644
index 00000000..3a9c10fd
--- /dev/null
+++ b/python/tests/codegen_tests/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/tests/codegen_tests/test_webcapture_entity_cdx.py b/python/tests/codegen_tests/test_webcapture_entity_cdx.py
new file mode 100644
index 00000000..c4c2dd17
--- /dev/null
+++ b/python/tests/codegen_tests/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()