diff --git a/src/tests/test_handlers.py b/src/tests/test_handlers.py index d5589a98..2be21b71 100644 --- a/src/tests/test_handlers.py +++ b/src/tests/test_handlers.py @@ -1,12 +1,14 @@ import unittest from core.feluda import Feluda from endpoint import health +from unittest.case import skip class TestIndexApi(unittest.TestCase): + @skip def setUp(self) -> None: self.feluda = Feluda("config.yml") - + @skip def test_health(self): rv = self.app.get("/health") print(rv.status_code) diff --git a/src/tests/test_health_api.py b/src/tests/test_health_api.py index 98deb508..6e8a5d8e 100644 --- a/src/tests/test_health_api.py +++ b/src/tests/test_health_api.py @@ -1,14 +1,16 @@ import unittest from core.feluda import Feluda from endpoint import health +from unittest.case import skip class TestIndexApi(unittest.TestCase): + @skip def setUp(self) -> None: feluda = Feluda("config.yml") feluda.set_endpoints([health.HealthEndpoint]) self.app = feluda.server.app.test_client() - + @skip def test_health(self): rv = self.app.get("/health") print(rv.status_code) diff --git a/src/tests/test_index_api.py b/src/tests/test_index_api.py index a8d605fa..ce97cd85 100644 --- a/src/tests/test_index_api.py +++ b/src/tests/test_index_api.py @@ -6,11 +6,13 @@ class TestIndexApi(unittest.TestCase): + @skip def setUp(self) -> None: feluda = Feluda("config.yml") feluda.set_endpoints([index.endpoint.IndexEndpoint]) self.app = feluda.server.app.test_client() + @skip def test_index_text_url(self): data = { "post": {