We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e1bfe5 commit 0085df7Copy full SHA for 0085df7
sde_collections/tests/api_tests.py
@@ -1,9 +1,12 @@
1
# docker-compose -f local.yml run --rm django pytest sde_collections/tests/api_tests.py
2
import unittest
3
from unittest.mock import Mock, patch
4
+
5
from requests import HTTPError
6
7
from ..sinequa_api import Api
8
9
10
class TestApi(unittest.TestCase):
11
def setUp(self):
12
# Set up an instance of the Api class with parameters for testing
@@ -129,5 +132,6 @@ def test_process_full_text_response(self):
129
132
]
130
133
self.assertEqual(processed_response, expected)
131
134
135
136
if __name__ == "__main__":
137
unittest.main()
0 commit comments