Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 14, 2024
1 parent 7e1bfe5 commit 0085df7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sde_collections/tests/api_tests.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# docker-compose -f local.yml run --rm django pytest sde_collections/tests/api_tests.py
import unittest
from unittest.mock import Mock, patch

from requests import HTTPError

from ..sinequa_api import Api


class TestApi(unittest.TestCase):
def setUp(self):
# Set up an instance of the Api class with parameters for testing
Expand Down Expand Up @@ -129,5 +132,6 @@ def test_process_full_text_response(self):
]
self.assertEqual(processed_response, expected)


if __name__ == "__main__":
unittest.main()

0 comments on commit 0085df7

Please sign in to comment.