diff options
Diffstat (limited to 'python/tests')
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() | 
