From 3d53a6f8d3e42de68f0c142b2d1329a66a0b7924 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 25 Jun 2018 10:45:44 -0700 Subject: update fatcat codegen --- python/tests/codegen_tests/test_default_api.py | 6 ++++ python/tests/codegen_tests/test_stats_response.py | 40 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 python/tests/codegen_tests/test_stats_response.py (limited to 'python/tests') diff --git a/python/tests/codegen_tests/test_default_api.py b/python/tests/codegen_tests/test_default_api.py index 3fe852ad..a1f22d8c 100644 --- a/python/tests/codegen_tests/test_default_api.py +++ b/python/tests/codegen_tests/test_default_api.py @@ -155,6 +155,12 @@ class TestDefaultApi(unittest.TestCase): """ pass + def test_get_stats(self): + """Test case for get_stats + + """ + pass + def test_get_work(self): """Test case for get_work diff --git a/python/tests/codegen_tests/test_stats_response.py b/python/tests/codegen_tests/test_stats_response.py new file mode 100644 index 00000000..e787cd98 --- /dev/null +++ b/python/tests/codegen_tests/test_stats_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.stats_response import StatsResponse # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestStatsResponse(unittest.TestCase): + """StatsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStatsResponse(self): + """Test StatsResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.stats_response.StatsResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() -- cgit v1.2.3