Skip to content

Commit

Permalink
chore: skipping unmaintained tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aatmanvaidya authored and dennyabrain committed Feb 21, 2024
1 parent ffc8efc commit c48b724
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/tests/test_handlers.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 3 additions & 1 deletion src/tests/test_health_api.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/tests/test_index_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit c48b724

Please sign in to comment.