diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-30 20:30:51 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-30 20:31:00 -0700 |
commit | eb9c5b9a8d0b55e0ddaec864a1810f5f5d963a3e (patch) | |
tree | 6154a519565d2b94fae54f32d9ea20088be4785c /python/tests/codegen_tests | |
parent | 9f40f6131cb08f14a8a5b4211af9c71ee474f3e6 (diff) | |
download | fatcat-eb9c5b9a8d0b55e0ddaec864a1810f5f5d963a3e.tar.gz fatcat-eb9c5b9a8d0b55e0ddaec864a1810f5f5d963a3e.zip |
more fatcat-web views (changelog, history, etc)
Diffstat (limited to 'python/tests/codegen_tests')
-rw-r--r-- | python/tests/codegen_tests/test_changelog_entry.py | 40 | ||||
-rw-r--r-- | python/tests/codegen_tests/test_default_api.py | 42 | ||||
-rw-r--r-- | python/tests/codegen_tests/test_entity_history_entry.py | 40 |
3 files changed, 122 insertions, 0 deletions
diff --git a/python/tests/codegen_tests/test_changelog_entry.py b/python/tests/codegen_tests/test_changelog_entry.py new file mode 100644 index 00000000..a8401891 --- /dev/null +++ b/python/tests/codegen_tests/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/tests/codegen_tests/test_default_api.py b/python/tests/codegen_tests/test_default_api.py index a1f22d8c..e3008898 100644 --- a/python/tests/codegen_tests/test_default_api.py +++ b/python/tests/codegen_tests/test_default_api.py @@ -101,18 +101,42 @@ class TestDefaultApi(unittest.TestCase): """ 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_history(self): + """Test case for get_container_history + + """ + pass + def test_get_creator(self): """Test case for get_creator """ pass + def test_get_creator_history(self): + """Test case for get_creator_history + + """ + pass + def test_get_creator_releases(self): """Test case for get_creator_releases @@ -143,6 +167,12 @@ class TestDefaultApi(unittest.TestCase): """ pass + def test_get_file_history(self): + """Test case for get_file_history + + """ + pass + def test_get_release(self): """Test case for get_release @@ -155,6 +185,12 @@ class TestDefaultApi(unittest.TestCase): """ pass + def test_get_release_history(self): + """Test case for get_release_history + + """ + pass + def test_get_stats(self): """Test case for get_stats @@ -167,6 +203,12 @@ class TestDefaultApi(unittest.TestCase): """ pass + def test_get_work_history(self): + """Test case for get_work_history + + """ + pass + def test_get_work_releases(self): """Test case for get_work_releases diff --git a/python/tests/codegen_tests/test_entity_history_entry.py b/python/tests/codegen_tests/test_entity_history_entry.py new file mode 100644 index 00000000..4c27c80f --- /dev/null +++ b/python/tests/codegen_tests/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() |