Skip to content

Commit 0085df7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7e1bfe5 commit 0085df7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sde_collections/tests/api_tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# docker-compose -f local.yml run --rm django pytest sde_collections/tests/api_tests.py
22
import unittest
33
from unittest.mock import Mock, patch
4+
45
from requests import HTTPError
6+
57
from ..sinequa_api import Api
68

9+
710
class TestApi(unittest.TestCase):
811
def setUp(self):
912
# Set up an instance of the Api class with parameters for testing
@@ -129,5 +132,6 @@ def test_process_full_text_response(self):
129132
]
130133
self.assertEqual(processed_response, expected)
131134

135+
132136
if __name__ == "__main__":
133137
unittest.main()

0 commit comments

Comments
 (0)