diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 16:24:32 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 16:24:34 -0800 |
commit | 34839845429e066b5c44a19fba95711b14c196e2 (patch) | |
tree | 9a703a934db85a8ac0694ea10900ec702a2e82e0 /python/tests | |
parent | 8b2590b32e7b6bd2bfa518ec59c492dd48f8047f (diff) | |
download | fatcat-34839845429e066b5c44a19fba95711b14c196e2.tar.gz fatcat-34839845429e066b5c44a19fba95711b14c196e2.zip |
remove unused postgres-backed stats stuff
Will replace with elasticsearch-based dash in webface
Diffstat (limited to 'python/tests')
-rw-r--r-- | python/tests/codegen_tests/test_default_api.py | 6 | ||||
-rw-r--r-- | python/tests/codegen_tests/test_stats_response.py | 40 | ||||
-rw-r--r-- | python/tests/routes.py | 3 |
3 files changed, 0 insertions, 49 deletions
diff --git a/python/tests/codegen_tests/test_default_api.py b/python/tests/codegen_tests/test_default_api.py index 1fcd42d2..8942490b 100644 --- a/python/tests/codegen_tests/test_default_api.py +++ b/python/tests/codegen_tests/test_default_api.py @@ -323,12 +323,6 @@ 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 deleted file mode 100644 index e787cd98..00000000 --- a/python/tests/codegen_tests/test_stats_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# 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() diff --git a/python/tests/routes.py b/python/tests/routes.py index 2e208d22..bca7cc0f 100644 --- a/python/tests/routes.py +++ b/python/tests/routes.py @@ -114,6 +114,3 @@ def test_all_views(app): rv = app.get('/editor/aaaaaaaaaaaabkvkaaaaaaaaae/changelog') assert rv.status_code == 200 - - rv = app.get('/stats') - assert rv.status_code == 200 |